Class CfnDatabaseMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.timestream.CfnDatabaseMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatabaseMixinProps>
- Enclosing interface:
CfnDatabaseMixinProps
@Stability(Stable)
public static final class CfnDatabaseMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatabaseMixinProps>
A builder for
CfnDatabaseMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.databaseName(String databaseName) Sets the value ofCfnDatabaseMixinProps.getDatabaseName()Sets the value ofCfnDatabaseMixinProps.getKmsKeyId()Sets the value ofCfnDatabaseMixinProps.getKmsKeyId()Sets the value ofCfnDatabaseMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
databaseName
Sets the value ofCfnDatabaseMixinProps.getDatabaseName()- Parameters:
databaseName- The name of the Timestream database. Length Constraints : Minimum length of 3 bytes. Maximum length of 256 bytes.- Returns:
this
-
kmsKeyId
Sets the value ofCfnDatabaseMixinProps.getKmsKeyId()- Parameters:
kmsKeyId- The identifier of the AWS key used to encrypt the data stored in the database.- Returns:
this
-
kmsKeyId
Sets the value ofCfnDatabaseMixinProps.getKmsKeyId()- Parameters:
kmsKeyId- The identifier of the AWS key used to encrypt the data stored in the database.- Returns:
this
-
tags
Sets the value ofCfnDatabaseMixinProps.getTags()- Parameters:
tags- The tags to add to the database.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatabaseMixinProps>- Returns:
- a new instance of
CfnDatabaseMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-