Class CfnTypeProps.Builder
java.lang.Object
software.amazon.awscdk.services.cassandra.CfnTypeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTypeProps>
- Enclosing interface:
CfnTypeProps
@Stability(Stable)
public static final class CfnTypeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTypeProps>
A builder for
CfnTypeProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTypeProps.getFields()fields(IResolvable fields) Sets the value ofCfnTypeProps.getFields()keyspaceName(String keyspaceName) Sets the value ofCfnTypeProps.getKeyspaceName()Sets the value ofCfnTypeProps.getTypeName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fields
Sets the value ofCfnTypeProps.getFields()- Parameters:
fields- A list of fields that define this type. This parameter is required.- Returns:
this
-
fields
Sets the value ofCfnTypeProps.getFields()- Parameters:
fields- A list of fields that define this type. This parameter is required.- Returns:
this
-
keyspaceName
Sets the value ofCfnTypeProps.getKeyspaceName()- Parameters:
keyspaceName- The name of the keyspace to create the type in. This parameter is required. The keyspace must already exist.- Returns:
this
-
typeName
Sets the value ofCfnTypeProps.getTypeName()- Parameters:
typeName- The name of the user-defined type. This parameter is required. UDT names must contain 48 characters or less, must begin with an alphabetic character, and can only contain alpha-numeric characters and underscores. Amazon Keyspaces converts upper case characters automatically into lower case characters. For more information, see Create a user-defined type (UDT) in Amazon Keyspaces in the Amazon Keyspaces Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTypeProps>- Returns:
- a new instance of
CfnTypeProps - Throws:
NullPointerException- if any required attribute was not provided
-