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