Class CfnDatasetPropsMixin.CsvOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.databrew.mixins.CfnDatasetPropsMixin.CsvOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatasetPropsMixin.CsvOptionsProperty>
- Enclosing interface:
CfnDatasetPropsMixin.CsvOptionsProperty
@Stability(Stable)
public static final class CfnDatasetPropsMixin.CsvOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatasetPropsMixin.CsvOptionsProperty>
A builder for
CfnDatasetPropsMixin.CsvOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDatasetPropsMixin.CsvOptionsProperty.getDelimiter()Sets the value ofCfnDatasetPropsMixin.CsvOptionsProperty.getHeaderRow()headerRow(IResolvable headerRow) Sets the value ofCfnDatasetPropsMixin.CsvOptionsProperty.getHeaderRow()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
delimiter
@Stability(Stable) public CfnDatasetPropsMixin.CsvOptionsProperty.Builder delimiter(String delimiter) Sets the value ofCfnDatasetPropsMixin.CsvOptionsProperty.getDelimiter()- Parameters:
delimiter- A single character that specifies the delimiter being used in the CSV file.- Returns:
this
-
headerRow
@Stability(Stable) public CfnDatasetPropsMixin.CsvOptionsProperty.Builder headerRow(Boolean headerRow) Sets the value ofCfnDatasetPropsMixin.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
@Stability(Stable) public CfnDatasetPropsMixin.CsvOptionsProperty.Builder headerRow(IResolvable headerRow) Sets the value ofCfnDatasetPropsMixin.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<CfnDatasetPropsMixin.CsvOptionsProperty>- Returns:
- a new instance of
CfnDatasetPropsMixin.CsvOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-