Class CfnDataSet.S3SourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDataSet.S3SourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSet.S3SourceProperty>
- Enclosing interface:
CfnDataSet.S3SourceProperty
@Stability(Stable)
public static final class CfnDataSet.S3SourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSet.S3SourceProperty>
A builder for
CfnDataSet.S3SourceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dataSourceArn
(String dataSourceArn) Sets the value ofCfnDataSet.S3SourceProperty.getDataSourceArn()
inputColumns
(List<? extends Object> inputColumns) Sets the value ofCfnDataSet.S3SourceProperty.getInputColumns()
inputColumns
(IResolvable inputColumns) Sets the value ofCfnDataSet.S3SourceProperty.getInputColumns()
uploadSettings
(IResolvable uploadSettings) Sets the value ofCfnDataSet.S3SourceProperty.getUploadSettings()
uploadSettings
(CfnDataSet.UploadSettingsProperty uploadSettings) Sets the value ofCfnDataSet.S3SourceProperty.getUploadSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataSourceArn
Sets the value ofCfnDataSet.S3SourceProperty.getDataSourceArn()
- Parameters:
dataSourceArn
- The Amazon Resource Name (ARN) for the data source. This parameter is required.- Returns:
this
-
inputColumns
@Stability(Stable) public CfnDataSet.S3SourceProperty.Builder inputColumns(IResolvable inputColumns) Sets the value ofCfnDataSet.S3SourceProperty.getInputColumns()
- Parameters:
inputColumns
- A physical table type for an S3 data source. This parameter is required.For files that aren't JSON, only
STRING
data types are supported in input columns.- Returns:
this
-
inputColumns
@Stability(Stable) public CfnDataSet.S3SourceProperty.Builder inputColumns(List<? extends Object> inputColumns) Sets the value ofCfnDataSet.S3SourceProperty.getInputColumns()
- Parameters:
inputColumns
- A physical table type for an S3 data source. This parameter is required.For files that aren't JSON, only
STRING
data types are supported in input columns.- Returns:
this
-
uploadSettings
@Stability(Stable) public CfnDataSet.S3SourceProperty.Builder uploadSettings(IResolvable uploadSettings) Sets the value ofCfnDataSet.S3SourceProperty.getUploadSettings()
- Parameters:
uploadSettings
- Information about the format for the S3 source file or files.- Returns:
this
-
uploadSettings
@Stability(Stable) public CfnDataSet.S3SourceProperty.Builder uploadSettings(CfnDataSet.UploadSettingsProperty uploadSettings) Sets the value ofCfnDataSet.S3SourceProperty.getUploadSettings()
- Parameters:
uploadSettings
- Information about the format for the S3 source file or files.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSet.S3SourceProperty>
- Returns:
- a new instance of
CfnDataSet.S3SourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-