Class CfnTable.SchemaV2FieldProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3tables.CfnTable.SchemaV2FieldProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTable.SchemaV2FieldProperty>
- Enclosing interface:
CfnTable.SchemaV2FieldProperty
@Stability(Stable)
public static final class CfnTable.SchemaV2FieldProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTable.SchemaV2FieldProperty>
A builder for
CfnTable.SchemaV2FieldProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTable.SchemaV2FieldProperty.getDoc()Sets the value ofCfnTable.SchemaV2FieldProperty.getId()Sets the value ofCfnTable.SchemaV2FieldProperty.getName()Sets the value ofCfnTable.SchemaV2FieldProperty.getRequired()required(IResolvable required) Sets the value ofCfnTable.SchemaV2FieldProperty.getRequired()Sets the value ofCfnTable.SchemaV2FieldProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Sets the value ofCfnTable.SchemaV2FieldProperty.getId()- Parameters:
id- The unique identifier for the field. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnTable.SchemaV2FieldProperty.getName()- Parameters:
name- The name of the field. This parameter is required.- Returns:
this
-
required
Sets the value ofCfnTable.SchemaV2FieldProperty.getRequired()- Parameters:
required- A Boolean value that specifies whether values are required for each row in this field. This parameter is required.- Returns:
this
-
required
Sets the value ofCfnTable.SchemaV2FieldProperty.getRequired()- Parameters:
required- A Boolean value that specifies whether values are required for each row in this field. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnTable.SchemaV2FieldProperty.getType()- Parameters:
type- the value to be set. This parameter is required.- Returns:
this
-
doc
Sets the value ofCfnTable.SchemaV2FieldProperty.getDoc()- Parameters:
doc- Optional documentation for the field.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTable.SchemaV2FieldProperty>- Returns:
- a new instance of
CfnTable.SchemaV2FieldProperty - Throws:
NullPointerException- if any required attribute was not provided
-