Interface CreateDatabaseRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDatabaseRequest.Builder,CreateDatabaseRequest>,SdkBuilder<CreateDatabaseRequest.Builder,CreateDatabaseRequest>,SdkPojo,SdkRequest.Builder,TimestreamWriteRequest.Builder
- Enclosing class:
- CreateDatabaseRequest
public static interface CreateDatabaseRequest.Builder extends TimestreamWriteRequest.Builder, SdkPojo, CopyableBuilder<CreateDatabaseRequest.Builder,CreateDatabaseRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateDatabaseRequest.BuilderdatabaseName(String databaseName)The name of the Timestream database.CreateDatabaseRequest.BuilderkmsKeyId(String kmsKeyId)The KMS key for the database.CreateDatabaseRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateDatabaseRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateDatabaseRequest.Buildertags(Collection<Tag> tags)A list of key-value pairs to label the table.CreateDatabaseRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of key-value pairs to label the table.CreateDatabaseRequest.Buildertags(Tag... tags)A list of key-value pairs to label the table.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.timestreamwrite.model.TimestreamWriteRequest.Builder
build
-
-
-
-
Method Detail
-
databaseName
CreateDatabaseRequest.Builder databaseName(String databaseName)
The name of the Timestream database.
- Parameters:
databaseName- The name of the Timestream database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateDatabaseRequest.Builder tags(Collection<Tag> tags)
A list of key-value pairs to label the table.
- Parameters:
tags- A list of key-value pairs to label the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateDatabaseRequest.Builder tags(Tag... tags)
A list of key-value pairs to label the table.
- Parameters:
tags- A list of key-value pairs to label the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateDatabaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDatabaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-