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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateDatabaseRequest.Builder
catalogId(String catalogId)
The ID of the Data Catalog in which the metadata database resides.default UpdateDatabaseRequest.Builder
databaseInput(Consumer<DatabaseInput.Builder> databaseInput)
ADatabaseInput
object specifying the new definition of the metadata database in the catalog.UpdateDatabaseRequest.Builder
databaseInput(DatabaseInput databaseInput)
ADatabaseInput
object specifying the new definition of the metadata database in the catalog.UpdateDatabaseRequest.Builder
name(String name)
The name of the database to update in the catalog.UpdateDatabaseRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateDatabaseRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
catalogId
UpdateDatabaseRequest.Builder catalogId(String 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
UpdateDatabaseRequest.Builder name(String 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
UpdateDatabaseRequest.Builder databaseInput(DatabaseInput databaseInput)
A
DatabaseInput
object specifying the new definition of the metadata database in the catalog.- Parameters:
databaseInput
- ADatabaseInput
object 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
default UpdateDatabaseRequest.Builder databaseInput(Consumer<DatabaseInput.Builder> databaseInput)
A
This is a convenience method that creates an instance of theDatabaseInput
object specifying the new definition of the metadata database in the catalog.DatabaseInput.Builder
avoiding the need to create one manually viaDatabaseInput.builder()
.When the
Consumer
completes,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:
databaseInput(DatabaseInput)
-
overrideConfiguration
UpdateDatabaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateDatabaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-