Class UpdateDatabaseRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.glue.model.GlueRequest
software.amazon.awssdk.services.glue.model.UpdateDatabaseRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateDatabaseRequest.Builder,UpdateDatabaseRequest>
@Generated("software.amazon.awssdk:codegen")
public final class UpdateDatabaseRequest
extends GlueRequest
implements ToCopyableBuilder<UpdateDatabaseRequest.Builder,UpdateDatabaseRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe ID of the Data Catalog in which the metadata database resides.final DatabaseInputADatabaseInputobject specifying the new definition of the metadata database in the catalog.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringname()The name of the database to update in the catalog.static Class<? extends UpdateDatabaseRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
catalogId
The ID of the Data Catalog in which the metadata database resides. If none is provided, the Amazon Web Services account ID is used by default.
- Returns:
- The ID of the Data Catalog in which the metadata database resides. If none is provided, the Amazon Web Services account ID is used by default.
-
name
The name of the database to update in the catalog. For Hive compatibility, this is folded to lowercase.
- Returns:
- The name of the database to update in the catalog. For Hive compatibility, this is folded to lowercase.
-
databaseInput
A
DatabaseInputobject specifying the new definition of the metadata database in the catalog.- Returns:
- A
DatabaseInputobject specifying the new definition of the metadata database in the catalog.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateDatabaseRequest.Builder,UpdateDatabaseRequest> - Specified by:
toBuilderin classGlueRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-