Class CfnDatasetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.scn.CfnDatasetMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatasetMixinProps>
- Enclosing interface:
CfnDatasetMixinProps
@Stability(Stable)
public static final class CfnDatasetMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatasetMixinProps>
A builder for
CfnDatasetMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnDatasetMixinProps.getDescription()instanceId(String instanceId) Sets the value ofCfnDatasetMixinProps.getInstanceId()Sets the value ofCfnDatasetMixinProps.getName()Sets the value ofCfnDatasetMixinProps.getNamespace()partitionSpec(CfnDatasetPropsMixin.PartitionSpecProperty partitionSpec) Sets the value ofCfnDatasetMixinProps.getPartitionSpec()partitionSpec(IResolvable partitionSpec) Sets the value ofCfnDatasetMixinProps.getPartitionSpec()Sets the value ofCfnDatasetMixinProps.getSchema()schema(IResolvable schema) Sets the value ofCfnDatasetMixinProps.getSchema()Sets the value ofCfnDatasetMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnDatasetMixinProps.getDescription()- Parameters:
description- The description of the dataset.- Returns:
this
-
instanceId
Sets the value ofCfnDatasetMixinProps.getInstanceId()- Parameters:
instanceId- The Amazon Web Services Supply Chain instance identifier.- Returns:
this
-
name
Sets the value ofCfnDatasetMixinProps.getName()- Parameters:
name- The name of the dataset.- Returns:
this
-
namespace
Sets the value ofCfnDatasetMixinProps.getNamespace()- Parameters:
namespace- The namespace of the dataset.- Returns:
this
-
partitionSpec
Sets the value ofCfnDatasetMixinProps.getPartitionSpec()- Parameters:
partitionSpec- The partition specification of the dataset.- Returns:
this
-
partitionSpec
@Stability(Stable) public CfnDatasetMixinProps.Builder partitionSpec(CfnDatasetPropsMixin.PartitionSpecProperty partitionSpec) Sets the value ofCfnDatasetMixinProps.getPartitionSpec()- Parameters:
partitionSpec- The partition specification of the dataset.- Returns:
this
-
schema
Sets the value ofCfnDatasetMixinProps.getSchema()- Parameters:
schema- The schema of the dataset.- Returns:
this
-
schema
@Stability(Stable) public CfnDatasetMixinProps.Builder schema(CfnDatasetPropsMixin.SchemaProperty schema) Sets the value ofCfnDatasetMixinProps.getSchema()- Parameters:
schema- The schema of the dataset.- Returns:
this
-
tags
Sets the value ofCfnDatasetMixinProps.getTags()- Parameters:
tags- The tags for the dataset.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatasetMixinProps>- Returns:
- a new instance of
CfnDatasetMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-