Class CfnDatabase.Builder
java.lang.Object
software.amazon.awscdk.services.timestream.CfnDatabase.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnDatabase>
- Enclosing class:
- CfnDatabase
@Stability(Stable)
public static final class CfnDatabase.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatabase>
A fluent builder for 
CfnDatabase.- 
Method SummaryModifier and TypeMethodDescriptionbuild()static CfnDatabase.BuilderdatabaseName(String databaseName) The name of the Timestream database.The identifier of the AWS KMS key used to encrypt the data stored in the database.The tags to add to the database.
- 
Method Details- 
create- Parameters:
- scope-- scope in which this resource is defined.
 
- id-- scoped id of the resource.
 
- Returns:
- a new instance of CfnDatabase.Builder.
 
- 
databaseNameThe name of the Timestream database.Length Constraints : Minimum length of 3 bytes. Maximum length of 256 bytes. - Parameters:
- databaseName- The name of the Timestream database. This parameter is required.
- Returns:
- this
 
- 
kmsKeyIdThe identifier of the AWS KMS key used to encrypt the data stored in the database.- Parameters:
- kmsKeyId- The identifier of the AWS KMS key used to encrypt the data stored in the database. This parameter is required.
- Returns:
- this
 
- 
tagsThe tags to add to the database.- Parameters:
- tags- The tags to add to the database. This parameter is required.
- Returns:
- this
 
- 
build- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnDatabase>
- Returns:
- a newly built instance of CfnDatabase.
 
 
-