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)
Add an optional request override configuration.
|
UpdateDatabaseRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
buildoverrideConfigurationcopyapplyMutation, buildUpdateDatabaseRequest.Builder catalogId(String catalogId)
The ID of the Data Catalog in which the metadata database resides. If none is supplied, the AWS account ID is used by default.
catalogId - The ID of the Data Catalog in which the metadata database resides. If none is supplied, 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.BuilderdatabaseInput(DatabaseInput)UpdateDatabaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.UpdateDatabaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.