Class CfnDataset.CsvOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.databrew.CfnDataset.CsvOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset.CsvOptionsProperty>
- Enclosing interface:
- CfnDataset.CsvOptionsProperty
@Stability(Stable)
public static final class CfnDataset.CsvOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataset.CsvOptionsProperty>
A builder for
CfnDataset.CsvOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataset.CsvOptionsProperty.getDelimiter()Sets the value ofCfnDataset.CsvOptionsProperty.getHeaderRow()headerRow(IResolvable headerRow) Sets the value ofCfnDataset.CsvOptionsProperty.getHeaderRow()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
delimiter
Sets the value ofCfnDataset.CsvOptionsProperty.getDelimiter()- Parameters:
delimiter- A single character that specifies the delimiter being used in the CSV file.- Returns:
this
-
headerRow
Sets the value ofCfnDataset.CsvOptionsProperty.getHeaderRow()- Parameters:
headerRow- A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.- Returns:
this
-
headerRow
Sets the value ofCfnDataset.CsvOptionsProperty.getHeaderRow()- Parameters:
headerRow- A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataset.CsvOptionsProperty>- Returns:
- a new instance of
CfnDataset.CsvOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-