Class CfnTable.IcebergSchemaV2Property.Builder
java.lang.Object
software.amazon.awscdk.services.s3tables.CfnTable.IcebergSchemaV2Property.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTable.IcebergSchemaV2Property>
- Enclosing interface:
CfnTable.IcebergSchemaV2Property
@Stability(Stable)
public static final class CfnTable.IcebergSchemaV2Property.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTable.IcebergSchemaV2Property>
A builder for
CfnTable.IcebergSchemaV2Property-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.identifierFieldIds(List<? extends Number> identifierFieldIds) Sets the value ofCfnTable.IcebergSchemaV2Property.getIdentifierFieldIds()identifierFieldIds(IResolvable identifierFieldIds) Sets the value ofCfnTable.IcebergSchemaV2Property.getIdentifierFieldIds()Sets the value ofCfnTable.IcebergSchemaV2Property.getSchemaId()schemaV2FieldList(List<? extends Object> schemaV2FieldList) Sets the value ofCfnTable.IcebergSchemaV2Property.getSchemaV2FieldList()schemaV2FieldList(IResolvable schemaV2FieldList) Sets the value ofCfnTable.IcebergSchemaV2Property.getSchemaV2FieldList()schemaV2FieldType(String schemaV2FieldType) Sets the value ofCfnTable.IcebergSchemaV2Property.getSchemaV2FieldType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
schemaV2FieldList
@Stability(Stable) public CfnTable.IcebergSchemaV2Property.Builder schemaV2FieldList(IResolvable schemaV2FieldList) Sets the value ofCfnTable.IcebergSchemaV2Property.getSchemaV2FieldList()- Parameters:
schemaV2FieldList- List of schema fields that support nested types. This parameter is required.- Returns:
this
-
schemaV2FieldList
@Stability(Stable) public CfnTable.IcebergSchemaV2Property.Builder schemaV2FieldList(List<? extends Object> schemaV2FieldList) Sets the value ofCfnTable.IcebergSchemaV2Property.getSchemaV2FieldList()- Parameters:
schemaV2FieldList- List of schema fields that support nested types. This parameter is required.- Returns:
this
-
schemaV2FieldType
@Stability(Stable) public CfnTable.IcebergSchemaV2Property.Builder schemaV2FieldType(String schemaV2FieldType) Sets the value ofCfnTable.IcebergSchemaV2Property.getSchemaV2FieldType()- Parameters:
schemaV2FieldType- The type of the top-level schema, which is always 'struct'. This parameter is required.- Returns:
this
-
identifierFieldIds
@Stability(Stable) public CfnTable.IcebergSchemaV2Property.Builder identifierFieldIds(List<? extends Number> identifierFieldIds) Sets the value ofCfnTable.IcebergSchemaV2Property.getIdentifierFieldIds()- Parameters:
identifierFieldIds- A list of field IDs that are used as the identifier fields for the table. Identifier fields uniquely identify a row in the table.- Returns:
this
-
identifierFieldIds
@Stability(Stable) public CfnTable.IcebergSchemaV2Property.Builder identifierFieldIds(IResolvable identifierFieldIds) Sets the value ofCfnTable.IcebergSchemaV2Property.getIdentifierFieldIds()- Parameters:
identifierFieldIds- A list of field IDs that are used as the identifier fields for the table. Identifier fields uniquely identify a row in the table.- Returns:
this
-
schemaId
Sets the value ofCfnTable.IcebergSchemaV2Property.getSchemaId()- Parameters:
schemaId- An optional unique identifier for the schema.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTable.IcebergSchemaV2Property>- Returns:
- a new instance of
CfnTable.IcebergSchemaV2Property - Throws:
NullPointerException- if any required attribute was not provided
-