public static final class CfnDatabase.Builder
extends java.lang.Object
CfnDatabase
.Modifier and Type | Method and Description |
---|---|
CfnDatabase |
build() |
static CfnDatabase.Builder |
create(Construct scope,
java.lang.String id) |
CfnDatabase.Builder |
databaseName(java.lang.String databaseName)
The name of the Timestream database.
|
CfnDatabase.Builder |
kmsKeyId(java.lang.String kmsKeyId)
The identifier of the AWS KMS key used to encrypt the data stored in the database.
|
CfnDatabase.Builder |
tags(java.util.List<? extends CfnTag> tags)
The tags to add to the database.
|
public static CfnDatabase.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnDatabase.Builder
.public CfnDatabase.Builder databaseName(java.lang.String databaseName)
Length Constraints : Minimum length of 3 bytes. Maximum length of 256 bytes.
databaseName
- The name of the Timestream database. This parameter is required.this
public CfnDatabase.Builder kmsKeyId(java.lang.String kmsKeyId)
kmsKeyId
- The identifier of the AWS KMS key used to encrypt the data stored in the database. This parameter is required.this
public CfnDatabase.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- The tags to add to the database. This parameter is required.this
public CfnDatabase build()