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