Class CfnKeyspace.Builder
java.lang.Object
software.amazon.awscdk.services.cassandra.CfnKeyspace.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnKeyspace>
- Enclosing class:
 - CfnKeyspace
 
@Stability(Stable)
public static final class CfnKeyspace.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKeyspace>
A fluent builder for 
CfnKeyspace.- 
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnKeyspace.BuilderkeyspaceName(String keyspaceName) The name of the keyspace to be created.A list of key-value pair tags to be attached to the resource. 
- 
Method Details
- 
create
- Parameters:
 scope-- scope in which this resource is defined.
 
id-- scoped id of the resource.
 
- Returns:
 - a new instance of 
CfnKeyspace.Builder. 
 - 
keyspaceName
The name of the keyspace to be created.The keyspace name is case sensitive. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the keyspace name. For more information, see Name type .
Length constraints: Minimum length of 3. Maximum length of 255.
Pattern:
^[a-zA-Z0-9][a-zA-Z0-9_]{1,47}$- Parameters:
 keyspaceName- The name of the keyspace to be created. This parameter is required.- Returns:
 this
 - 
tags
A list of key-value pair tags to be attached to the resource.- Parameters:
 tags- A list of key-value pair tags to be attached to the resource. This parameter is required.- Returns:
 this
 - 
build
- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnKeyspace>- Returns:
 - a newly built instance of 
CfnKeyspace. 
 
 -