Class CfnDatasetPropsMixin.FormatOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.databrew.CfnDatasetPropsMixin.FormatOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatasetPropsMixin.FormatOptionsProperty>
- Enclosing interface:
CfnDatasetPropsMixin.FormatOptionsProperty
@Stability(Stable)
public static final class CfnDatasetPropsMixin.FormatOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatasetPropsMixin.FormatOptionsProperty>
A builder for
CfnDatasetPropsMixin.FormatOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDatasetPropsMixin.FormatOptionsProperty.getCsv()csv(IResolvable csv) Sets the value ofCfnDatasetPropsMixin.FormatOptionsProperty.getCsv()Sets the value ofCfnDatasetPropsMixin.FormatOptionsProperty.getExcel()excel(IResolvable excel) Sets the value ofCfnDatasetPropsMixin.FormatOptionsProperty.getExcel()Sets the value ofCfnDatasetPropsMixin.FormatOptionsProperty.getJson()json(IResolvable json) Sets the value ofCfnDatasetPropsMixin.FormatOptionsProperty.getJson()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
csv
Sets the value ofCfnDatasetPropsMixin.FormatOptionsProperty.getCsv()- Parameters:
csv- Options that define how CSV input is to be interpreted by DataBrew.- Returns:
this
-
csv
@Stability(Stable) public CfnDatasetPropsMixin.FormatOptionsProperty.Builder csv(CfnDatasetPropsMixin.CsvOptionsProperty csv) Sets the value ofCfnDatasetPropsMixin.FormatOptionsProperty.getCsv()- Parameters:
csv- Options that define how CSV input is to be interpreted by DataBrew.- Returns:
this
-
excel
@Stability(Stable) public CfnDatasetPropsMixin.FormatOptionsProperty.Builder excel(IResolvable excel) Sets the value ofCfnDatasetPropsMixin.FormatOptionsProperty.getExcel()- Parameters:
excel- Options that define how Excel input is to be interpreted by DataBrew.- Returns:
this
-
excel
@Stability(Stable) public CfnDatasetPropsMixin.FormatOptionsProperty.Builder excel(CfnDatasetPropsMixin.ExcelOptionsProperty excel) Sets the value ofCfnDatasetPropsMixin.FormatOptionsProperty.getExcel()- Parameters:
excel- Options that define how Excel input is to be interpreted by DataBrew.- Returns:
this
-
json
Sets the value ofCfnDatasetPropsMixin.FormatOptionsProperty.getJson()- Parameters:
json- Options that define how JSON input is to be interpreted by DataBrew.- Returns:
this
-
json
@Stability(Stable) public CfnDatasetPropsMixin.FormatOptionsProperty.Builder json(CfnDatasetPropsMixin.JsonOptionsProperty json) Sets the value ofCfnDatasetPropsMixin.FormatOptionsProperty.getJson()- Parameters:
json- Options that define how JSON input is to be interpreted by DataBrew.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatasetPropsMixin.FormatOptionsProperty>- Returns:
- a new instance of
CfnDatasetPropsMixin.FormatOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-