Class CfnDashboard.StaticFileS3SourceOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.StaticFileS3SourceOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.StaticFileS3SourceOptionsProperty>
- Enclosing interface:
CfnDashboard.StaticFileS3SourceOptionsProperty
@Stability(Stable)
public static final class CfnDashboard.StaticFileS3SourceOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.StaticFileS3SourceOptionsProperty>
A builder for
CfnDashboard.StaticFileS3SourceOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) Sets the value ofCfnDashboard.StaticFileS3SourceOptionsProperty.getBucketName()build()Builds the configured instance.Sets the value ofCfnDashboard.StaticFileS3SourceOptionsProperty.getObjectKey()Sets the value ofCfnDashboard.StaticFileS3SourceOptionsProperty.getRegion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
@Stability(Stable) public CfnDashboard.StaticFileS3SourceOptionsProperty.Builder bucketName(String bucketName) Sets the value ofCfnDashboard.StaticFileS3SourceOptionsProperty.getBucketName()- Parameters:
bucketName- The name of the Amazon S3 bucket. This parameter is required.- Returns:
this
-
objectKey
@Stability(Stable) public CfnDashboard.StaticFileS3SourceOptionsProperty.Builder objectKey(String objectKey) Sets the value ofCfnDashboard.StaticFileS3SourceOptionsProperty.getObjectKey()- Parameters:
objectKey- The identifier of the static file in the Amazon S3 bucket. This parameter is required.- Returns:
this
-
region
@Stability(Stable) public CfnDashboard.StaticFileS3SourceOptionsProperty.Builder region(String region) Sets the value ofCfnDashboard.StaticFileS3SourceOptionsProperty.getRegion()- Parameters:
region- The Region of the Amazon S3 account that contains the bucket. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboard.StaticFileS3SourceOptionsProperty>- Returns:
- a new instance of
CfnDashboard.StaticFileS3SourceOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-