Class CfnType.FieldProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cassandra.CfnType.FieldProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnType.FieldProperty>
- Enclosing interface:
CfnType.FieldProperty
@Stability(Stable)
public static final class CfnType.FieldProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnType.FieldProperty>
A builder for
CfnType.FieldProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnType.FieldProperty.getFieldName()
Sets the value ofCfnType.FieldProperty.getFieldType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fieldName
Sets the value ofCfnType.FieldProperty.getFieldName()
- Parameters:
fieldName
- The name of the field. This parameter is required.- Returns:
this
-
fieldType
Sets the value ofCfnType.FieldProperty.getFieldType()
- Parameters:
fieldType
- The data type of the field. This parameter is required. This can be any Cassandra data type or another user-defined type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnType.FieldProperty>
- Returns:
- a new instance of
CfnType.FieldProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-