Class CfnDataSet.UploadSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDataSet.UploadSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSet.UploadSettingsProperty>
- Enclosing interface:
- CfnDataSet.UploadSettingsProperty
@Stability(Stable)
public static final class CfnDataSet.UploadSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSet.UploadSettingsProperty>
A builder for
CfnDataSet.UploadSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.containsHeader
(Boolean containsHeader) Sets the value ofCfnDataSet.UploadSettingsProperty.getContainsHeader()
containsHeader
(IResolvable containsHeader) Sets the value ofCfnDataSet.UploadSettingsProperty.getContainsHeader()
Sets the value ofCfnDataSet.UploadSettingsProperty.getDelimiter()
Sets the value ofCfnDataSet.UploadSettingsProperty.getFormat()
startFromRow
(Number startFromRow) Sets the value ofCfnDataSet.UploadSettingsProperty.getStartFromRow()
textQualifier
(String textQualifier) Sets the value ofCfnDataSet.UploadSettingsProperty.getTextQualifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
containsHeader
@Stability(Stable) public CfnDataSet.UploadSettingsProperty.Builder containsHeader(Boolean containsHeader) Sets the value ofCfnDataSet.UploadSettingsProperty.getContainsHeader()
- Parameters:
containsHeader
- Whether the file has a header row, or the files each have a header row.- Returns:
this
-
containsHeader
@Stability(Stable) public CfnDataSet.UploadSettingsProperty.Builder containsHeader(IResolvable containsHeader) Sets the value ofCfnDataSet.UploadSettingsProperty.getContainsHeader()
- Parameters:
containsHeader
- Whether the file has a header row, or the files each have a header row.- Returns:
this
-
delimiter
Sets the value ofCfnDataSet.UploadSettingsProperty.getDelimiter()
- Parameters:
delimiter
- The delimiter between values in the file.- Returns:
this
-
format
Sets the value ofCfnDataSet.UploadSettingsProperty.getFormat()
- Parameters:
format
- File format.- Returns:
this
-
startFromRow
@Stability(Stable) public CfnDataSet.UploadSettingsProperty.Builder startFromRow(Number startFromRow) Sets the value ofCfnDataSet.UploadSettingsProperty.getStartFromRow()
- Parameters:
startFromRow
- A row number to start reading data from.- Returns:
this
-
textQualifier
@Stability(Stable) public CfnDataSet.UploadSettingsProperty.Builder textQualifier(String textQualifier) Sets the value ofCfnDataSet.UploadSettingsProperty.getTextQualifier()
- Parameters:
textQualifier
- Text qualifier.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSet.UploadSettingsProperty>
- Returns:
- a new instance of
CfnDataSet.UploadSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-