Class CfnTablePropsMixin.SchemaFieldProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3tables.CfnTablePropsMixin.SchemaFieldProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTablePropsMixin.SchemaFieldProperty>
- Enclosing interface:
CfnTablePropsMixin.SchemaFieldProperty
@Stability(Stable)
public static final class CfnTablePropsMixin.SchemaFieldProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTablePropsMixin.SchemaFieldProperty>
A builder for
CfnTablePropsMixin.SchemaFieldProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTablePropsMixin.SchemaFieldProperty.getId()Sets the value ofCfnTablePropsMixin.SchemaFieldProperty.getName()Sets the value ofCfnTablePropsMixin.SchemaFieldProperty.getRequired()required(IResolvable required) Sets the value ofCfnTablePropsMixin.SchemaFieldProperty.getRequired()Sets the value ofCfnTablePropsMixin.SchemaFieldProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Sets the value ofCfnTablePropsMixin.SchemaFieldProperty.getId()- Parameters:
id- The unique identifier for the field.- Returns:
this
-
name
Sets the value ofCfnTablePropsMixin.SchemaFieldProperty.getName()- Parameters:
name- The name of the field.- Returns:
this
-
required
Sets the value ofCfnTablePropsMixin.SchemaFieldProperty.getRequired()- Parameters:
required- A Boolean value that specifies whether values are required for each row in this field. By default, this isfalseand null values are allowed in the field. If this istruethe field does not allow null values.- Returns:
this
-
required
@Stability(Stable) public CfnTablePropsMixin.SchemaFieldProperty.Builder required(IResolvable required) Sets the value ofCfnTablePropsMixin.SchemaFieldProperty.getRequired()- Parameters:
required- A Boolean value that specifies whether values are required for each row in this field. By default, this isfalseand null values are allowed in the field. If this istruethe field does not allow null values.- Returns:
this
-
type
Sets the value ofCfnTablePropsMixin.SchemaFieldProperty.getType()- Parameters:
type- The field type. S3 Tables supports all Apache Iceberg primitive types. For more information, see the Apache Iceberg documentation .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTablePropsMixin.SchemaFieldProperty>- Returns:
- a new instance of
CfnTablePropsMixin.SchemaFieldProperty - Throws:
NullPointerException- if any required attribute was not provided
-