Class CfnDatasetProps.Builder
java.lang.Object
software.amazon.awscdk.services.databrew.CfnDatasetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatasetProps>
- Enclosing interface:
- CfnDatasetProps
@Stability(Stable)
public static final class CfnDatasetProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatasetProps>
A builder for
CfnDatasetProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDatasetProps.getFormat()formatOptions(IResolvable formatOptions) Sets the value ofCfnDatasetProps.getFormatOptions()formatOptions(CfnDataset.FormatOptionsProperty formatOptions) Sets the value ofCfnDatasetProps.getFormatOptions()input(IResolvable input) Sets the value ofCfnDatasetProps.getInput()input(CfnDataset.InputProperty input) Sets the value ofCfnDatasetProps.getInput()Sets the value ofCfnDatasetProps.getName()pathOptions(IResolvable pathOptions) Sets the value ofCfnDatasetProps.getPathOptions()pathOptions(CfnDataset.PathOptionsProperty pathOptions) Sets the value ofCfnDatasetProps.getPathOptions()Sets the value ofCfnDatasetProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
input
Sets the value ofCfnDatasetProps.getInput()- Parameters:
input- Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog or Amazon S3 . This parameter is required.- Returns:
this
-
input
Sets the value ofCfnDatasetProps.getInput()- Parameters:
input- Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog or Amazon S3 . This parameter is required.- Returns:
this
-
name
Sets the value ofCfnDatasetProps.getName()- Parameters:
name- The unique name of the dataset. This parameter is required.- Returns:
this
-
format
Sets the value ofCfnDatasetProps.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 ofCfnDatasetProps.getFormatOptions()- Parameters:
formatOptions- A set of options that define how DataBrew interprets the data in the dataset.- Returns:
this
-
formatOptions
@Stability(Stable) public CfnDatasetProps.Builder formatOptions(CfnDataset.FormatOptionsProperty formatOptions) Sets the value ofCfnDatasetProps.getFormatOptions()- Parameters:
formatOptions- A set of options that define how DataBrew interprets the data in the dataset.- Returns:
this
-
pathOptions
Sets the value ofCfnDatasetProps.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 CfnDatasetProps.Builder pathOptions(CfnDataset.PathOptionsProperty pathOptions) Sets the value ofCfnDatasetProps.getPathOptions()- Parameters:
pathOptions- A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.- Returns:
this
-
tags
Sets the value ofCfnDatasetProps.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<CfnDatasetProps>- Returns:
- a new instance of
CfnDatasetProps - Throws:
NullPointerException- if any required attribute was not provided
-