public static interface UpdateDatabaseRequest.Builder extends GlueRequest.Builder, SdkPojo, CopyableBuilder<UpdateDatabaseRequest.Builder,UpdateDatabaseRequest>
Modifier and Type | Method and 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)
A
DatabaseInput object specifying the new definition of the metadata database in the catalog. |
UpdateDatabaseRequest.Builder |
databaseInput(DatabaseInput databaseInput)
A
DatabaseInput 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(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateDatabaseRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdateDatabaseRequest.Builder catalogId(String catalogId)
The ID of the Data Catalog in which the metadata database resides. If none is provided, the AWS account ID is used by default.
catalogId
- The ID of the Data Catalog in which the metadata database resides. If none is provided, the AWS
account ID is used by default.UpdateDatabaseRequest.Builder name(String name)
The name of the database to update in the catalog. For Hive compatibility, this is folded to lowercase.
name
- The name of the database to update in the catalog. For Hive compatibility, this is folded to
lowercase.UpdateDatabaseRequest.Builder databaseInput(DatabaseInput databaseInput)
A DatabaseInput
object specifying the new definition of the metadata database in the catalog.
databaseInput
- A DatabaseInput
object specifying the new definition of the metadata database in the
catalog.default UpdateDatabaseRequest.Builder databaseInput(Consumer<DatabaseInput.Builder> databaseInput)
A DatabaseInput
object specifying the new definition of the metadata database in the catalog.
DatabaseInput.Builder
avoiding the need to
create one manually via DatabaseInput.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to databaseInput(DatabaseInput)
.databaseInput
- a consumer that will call methods on DatabaseInput.Builder
databaseInput(DatabaseInput)
UpdateDatabaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
UpdateDatabaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.