public static interface UpdateDatabaseRequest.Builder extends GlueRequest.Builder, 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 metadata database to update in the catalog.
|
UpdateDatabaseRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
UpdateDatabaseRequest.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 metadata database to update in the catalog.
name
- The name of the metadata database to update in the catalog.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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.