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 Summary
Modifier and TypeMethodDescriptionbuild()
static CfnDatabase.Builder
databaseName
(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
@Stability(Stable) public static CfnDatabase.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDatabase.Builder
.
-
databaseName
The 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
- See Also:
-
kmsKeyId
The 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
- See Also:
-
tags
The tags to add to the database.- Parameters:
tags
- The tags to add to the database. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDatabase>
- Returns:
- a newly built instance of
CfnDatabase
.
-