Class CfnDataSource.S3ParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDataSource.S3ParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.S3ParametersProperty>
- Enclosing interface:
CfnDataSource.S3ParametersProperty
@Stability(Stable)
public static final class CfnDataSource.S3ParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.S3ParametersProperty>
A builder for
CfnDataSource.S3ParametersProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.manifestFileLocation
(IResolvable manifestFileLocation) Sets the value ofCfnDataSource.S3ParametersProperty.getManifestFileLocation()
manifestFileLocation
(CfnDataSource.ManifestFileLocationProperty manifestFileLocation) Sets the value ofCfnDataSource.S3ParametersProperty.getManifestFileLocation()
Sets the value ofCfnDataSource.S3ParametersProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
manifestFileLocation
@Stability(Stable) public CfnDataSource.S3ParametersProperty.Builder manifestFileLocation(IResolvable manifestFileLocation) Sets the value ofCfnDataSource.S3ParametersProperty.getManifestFileLocation()
- Parameters:
manifestFileLocation
- Location of the Amazon S3 manifest file. This parameter is required. This is NULL if the manifest file was uploaded into Amazon QuickSight.- Returns:
this
-
manifestFileLocation
@Stability(Stable) public CfnDataSource.S3ParametersProperty.Builder manifestFileLocation(CfnDataSource.ManifestFileLocationProperty manifestFileLocation) Sets the value ofCfnDataSource.S3ParametersProperty.getManifestFileLocation()
- Parameters:
manifestFileLocation
- Location of the Amazon S3 manifest file. This parameter is required. This is NULL if the manifest file was uploaded into Amazon QuickSight.- Returns:
this
-
roleArn
Sets the value ofCfnDataSource.S3ParametersProperty.getRoleArn()
- Parameters:
roleArn
- Use theRoleArn
structure to override an account-wide role for a specific S3 data source. For example, say an account administrator has turned off all S3 access with an account-wide role. The administrator can then useRoleArn
to bypass the account-wide role and allow S3 access for the single S3 data source that is specified in the structure, even if the account-wide role forbidding S3 access is still active.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.S3ParametersProperty>
- Returns:
- a new instance of
CfnDataSource.S3ParametersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-