Class CfnDataset.PartitionSpecProperty.Builder
java.lang.Object
software.amazon.awscdk.services.scn.CfnDataset.PartitionSpecProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset.PartitionSpecProperty>
- Enclosing interface:
CfnDataset.PartitionSpecProperty
@Stability(Stable)
public static final class CfnDataset.PartitionSpecProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataset.PartitionSpecProperty>
A builder for
CfnDataset.PartitionSpecProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataset.PartitionSpecProperty.getFields()fields(IResolvable fields) Sets the value ofCfnDataset.PartitionSpecProperty.getFields()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fields
Sets the value ofCfnDataset.PartitionSpecProperty.getFields()- Parameters:
fields- The partition fields. This parameter is required.- Returns:
this
-
fields
@Stability(Stable) public CfnDataset.PartitionSpecProperty.Builder fields(List<? extends Object> fields) Sets the value ofCfnDataset.PartitionSpecProperty.getFields()- Parameters:
fields- The partition fields. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataset.PartitionSpecProperty>- Returns:
- a new instance of
CfnDataset.PartitionSpecProperty - Throws:
NullPointerException- if any required attribute was not provided
-