Class CfnDatasetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.databrew.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.Sets the value ofCfnDatasetMixinProps.getFormat()formatOptions(CfnDatasetPropsMixin.FormatOptionsProperty formatOptions) Sets the value ofCfnDatasetMixinProps.getFormatOptions()formatOptions(IResolvable formatOptions) Sets the value ofCfnDatasetMixinProps.getFormatOptions()Sets the value ofCfnDatasetMixinProps.getInput()input(IResolvable input) Sets the value ofCfnDatasetMixinProps.getInput()Sets the value ofCfnDatasetMixinProps.getName()pathOptions(CfnDatasetPropsMixin.PathOptionsProperty pathOptions) Sets the value ofCfnDatasetMixinProps.getPathOptions()pathOptions(IResolvable pathOptions) Sets the value ofCfnDatasetMixinProps.getPathOptions()Sets the value ofCfnDatasetMixinProps.getSource()Sets the value ofCfnDatasetMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
format
Sets the value ofCfnDatasetMixinProps.getFormat()- Parameters:
format- The file format of a dataset that is created from an Amazon S3 file or folder.- Returns:
this
-
formatOptions
Sets the value ofCfnDatasetMixinProps.getFormatOptions()- Parameters:
formatOptions- A set of options that define how DataBrew interprets the data in the dataset.- Returns:
this
-
formatOptions
@Stability(Stable) public CfnDatasetMixinProps.Builder formatOptions(CfnDatasetPropsMixin.FormatOptionsProperty formatOptions) Sets the value ofCfnDatasetMixinProps.getFormatOptions()- Parameters:
formatOptions- A set of options that define how DataBrew interprets the data in the dataset.- Returns:
this
-
input
Sets the value ofCfnDatasetMixinProps.getInput()- Parameters:
input- Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog or Amazon S3 .- Returns:
this
-
input
@Stability(Stable) public CfnDatasetMixinProps.Builder input(CfnDatasetPropsMixin.InputProperty input) Sets the value ofCfnDatasetMixinProps.getInput()- Parameters:
input- Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog or Amazon S3 .- Returns:
this
-
name
Sets the value ofCfnDatasetMixinProps.getName()- Parameters:
name- The unique name of the dataset.- Returns:
this
-
pathOptions
Sets the value ofCfnDatasetMixinProps.getPathOptions()- Parameters:
pathOptions- A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.- Returns:
this
-
pathOptions
@Stability(Stable) public CfnDatasetMixinProps.Builder pathOptions(CfnDatasetPropsMixin.PathOptionsProperty pathOptions) Sets the value ofCfnDatasetMixinProps.getPathOptions()- Parameters:
pathOptions- A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.- Returns:
this
-
source
Sets the value ofCfnDatasetMixinProps.getSource()- Parameters:
source- The location of the data for the dataset, either Amazon S3 or the AWS Glue Data Catalog .- Returns:
this
-
tags
Sets the value ofCfnDatasetMixinProps.getTags()- Parameters:
tags- Metadata tags that have been applied to 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
-