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