Class CfnType.Builder
java.lang.Object
software.amazon.awscdk.services.cassandra.CfnType.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnType>
- Enclosing class:
CfnType
@Stability(Stable)
public static final class CfnType.Builder
extends Object
implements software.amazon.jsii.Builder<CfnType>
A fluent builder for
CfnType.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnType.BuilderA list of fields that define this type.fields(IResolvable fields) A list of fields that define this type.keyspaceName(String keyspaceName) The name of the keyspace to create the type in.The name of the user-defined type.
-
Method Details
-
create
@Stability(Stable) public static CfnType.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
CfnType.Builder.
-
fields
A list of fields that define this type.- Parameters:
fields- A list of fields that define this type. This parameter is required.- Returns:
this- See Also:
-
fields
A list of fields that define this type.- Parameters:
fields- A list of fields that define this type. This parameter is required.- Returns:
this- See Also:
-
keyspaceName
The name of the keyspace to create the type in.The keyspace must already exist.
- Parameters:
keyspaceName- The name of the keyspace to create the type in. This parameter is required.- Returns:
this- See Also:
-
typeName
The name of the user-defined type.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 .
- Parameters:
typeName- The name of the user-defined type. This parameter is required.- Returns:
this- See Also:
-
build
-