Class CfnTable.OrderProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnTable.OrderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTable.OrderProperty>
- Enclosing interface:
CfnTable.OrderProperty
@Stability(Stable)
public static final class CfnTable.OrderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTable.OrderProperty>
A builder for
CfnTable.OrderProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTable.OrderProperty.getColumn()Sets the value ofCfnTable.OrderProperty.getSortOrder()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
column
Sets the value ofCfnTable.OrderProperty.getColumn()- Parameters:
column- The name of the column. This parameter is required.- Returns:
this
-
sortOrder
Sets the value ofCfnTable.OrderProperty.getSortOrder()- Parameters:
sortOrder- Indicates that the column is sorted in ascending order (== 1), or in descending order (==0). This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTable.OrderProperty>- Returns:
- a new instance of
CfnTable.OrderProperty - Throws:
NullPointerException- if any required attribute was not provided
-