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. For more information, see Amazon Web Services managed keys.
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. For more information, see Amazon Web
Services managed keys.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 method that creates an instance of theTag.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateDatabaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateDatabaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.