Class CfnTable.IcebergTableInputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnTable.IcebergTableInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTable.IcebergTableInputProperty>
- Enclosing interface:
CfnTable.IcebergTableInputProperty
@Stability(Stable)
public static final class CfnTable.IcebergTableInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTable.IcebergTableInputProperty>
A builder for
CfnTable.IcebergTableInputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTable.IcebergTableInputProperty.getLocation()partitionSpec(IResolvable partitionSpec) Sets the value ofCfnTable.IcebergTableInputProperty.getPartitionSpec()partitionSpec(CfnTable.IcebergPartitionSpecProperty partitionSpec) Sets the value ofCfnTable.IcebergTableInputProperty.getPartitionSpec()properties(Object properties) Sets the value ofCfnTable.IcebergTableInputProperty.getProperties()schema(IResolvable schema) Sets the value ofCfnTable.IcebergTableInputProperty.getSchema()schema(CfnTable.IcebergSchemaProperty schema) Sets the value ofCfnTable.IcebergTableInputProperty.getSchema()writeOrder(IResolvable writeOrder) Sets the value ofCfnTable.IcebergTableInputProperty.getWriteOrder()writeOrder(CfnTable.IcebergSortOrderProperty writeOrder) Sets the value ofCfnTable.IcebergTableInputProperty.getWriteOrder()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
location
Sets the value ofCfnTable.IcebergTableInputProperty.getLocation()- Parameters:
location- the value to be set. This parameter is required.- Returns:
this
-
schema
Sets the value ofCfnTable.IcebergTableInputProperty.getSchema()- Parameters:
schema- the value to be set. This parameter is required.- Returns:
this
-
schema
@Stability(Stable) public CfnTable.IcebergTableInputProperty.Builder schema(CfnTable.IcebergSchemaProperty schema) Sets the value ofCfnTable.IcebergTableInputProperty.getSchema()- Parameters:
schema- the value to be set. This parameter is required.- Returns:
this
-
partitionSpec
@Stability(Stable) public CfnTable.IcebergTableInputProperty.Builder partitionSpec(IResolvable partitionSpec) Sets the value ofCfnTable.IcebergTableInputProperty.getPartitionSpec()- Parameters:
partitionSpec- the value to be set.- Returns:
this
-
partitionSpec
@Stability(Stable) public CfnTable.IcebergTableInputProperty.Builder partitionSpec(CfnTable.IcebergPartitionSpecProperty partitionSpec) Sets the value ofCfnTable.IcebergTableInputProperty.getPartitionSpec()- Parameters:
partitionSpec- the value to be set.- Returns:
this
-
properties
Sets the value ofCfnTable.IcebergTableInputProperty.getProperties()- Parameters:
properties- the value to be set.- Returns:
this
-
writeOrder
@Stability(Stable) public CfnTable.IcebergTableInputProperty.Builder writeOrder(IResolvable writeOrder) Sets the value ofCfnTable.IcebergTableInputProperty.getWriteOrder()- Parameters:
writeOrder- the value to be set.- Returns:
this
-
writeOrder
@Stability(Stable) public CfnTable.IcebergTableInputProperty.Builder writeOrder(CfnTable.IcebergSortOrderProperty writeOrder) Sets the value ofCfnTable.IcebergTableInputProperty.getWriteOrder()- Parameters:
writeOrder- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTable.IcebergTableInputProperty>- Returns:
- a new instance of
CfnTable.IcebergTableInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-