public static interface CreateDatabaseRequest.Builder extends TimestreamWriteRequest.Builder, SdkPojo, CopyableBuilder<CreateDatabaseRequest.Builder,CreateDatabaseRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateDatabaseRequest.Builder |
databaseName(String databaseName)
The name of the Timestream database.
|
CreateDatabaseRequest.Builder |
kmsKeyId(String kmsKeyId)
The KMS key for the database.
|
CreateDatabaseRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateDatabaseRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateDatabaseRequest.Builder |
tags(Collection<Tag> tags)
A list of key-value pairs to label the table.
|
CreateDatabaseRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of key-value pairs to label the table.
|
CreateDatabaseRequest.Builder |
tags(Tag... tags)
A list of key-value pairs to label the table.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateDatabaseRequest.Builder databaseName(String databaseName)
The name of the Timestream database.
databaseName - The name of the Timestream database.CreateDatabaseRequest.Builder kmsKeyId(String kmsKeyId)
The KMS key for the database. If the KMS key is not specified, the database will be encrypted with a Timestream managed KMS key located in your account. Refer to AWS managed KMS keys for more info.
kmsKeyId - The KMS key for the database. If the KMS key is not specified, the database will be encrypted with a
Timestream managed KMS key located in your account. Refer to AWS managed
KMS keys for more info.CreateDatabaseRequest.Builder tags(Collection<Tag> tags)
A list of key-value pairs to label the table.
tags - A list of key-value pairs to label the table.CreateDatabaseRequest.Builder tags(Tag... tags)
A list of key-value pairs to label the table.
tags - A list of key-value pairs to label the table.CreateDatabaseRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of key-value pairs to label the table.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) CreateDatabaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateDatabaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.