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