Interface UpdateDatabaseRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateDatabaseRequest.Builder,,UpdateDatabaseRequest> GlueRequest.Builder,SdkBuilder<UpdateDatabaseRequest.Builder,,UpdateDatabaseRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateDatabaseRequest
public static interface UpdateDatabaseRequest.Builder
extends GlueRequest.Builder, SdkPojo, CopyableBuilder<UpdateDatabaseRequest.Builder,UpdateDatabaseRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Data Catalog in which the metadata database resides.default UpdateDatabaseRequest.BuilderdatabaseInput(Consumer<DatabaseInput.Builder> databaseInput) ADatabaseInputobject specifying the new definition of the metadata database in the catalog.databaseInput(DatabaseInput databaseInput) ADatabaseInputobject specifying the new definition of the metadata database in the catalog.The name of the database to update in the catalog.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the database to update in the catalog. For Hive compatibility, this is folded to lowercase.
- Parameters:
name- The name of the database to update in the catalog. For Hive compatibility, this is folded to lowercase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseInput
A
DatabaseInputobject specifying the new definition of the metadata database in the catalog.- Parameters:
databaseInput- ADatabaseInputobject specifying the new definition of the metadata database in the catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseInput
A
This is a convenience method that creates an instance of theDatabaseInputobject specifying the new definition of the metadata database in the catalog.DatabaseInput.Builderavoiding the need to create one manually viaDatabaseInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatabaseInput(DatabaseInput).- Parameters:
databaseInput- a consumer that will call methods onDatabaseInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateDatabaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateDatabaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-