Class CfnDirectoryBucketPropsMixin.DestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3express.CfnDirectoryBucketPropsMixin.DestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDirectoryBucketPropsMixin.DestinationProperty>
- Enclosing interface:
CfnDirectoryBucketPropsMixin.DestinationProperty
@Stability(Stable)
public static final class CfnDirectoryBucketPropsMixin.DestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDirectoryBucketPropsMixin.DestinationProperty>
A builder for
CfnDirectoryBucketPropsMixin.DestinationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucketAccountId(String bucketAccountId) Sets the value ofCfnDirectoryBucketPropsMixin.DestinationProperty.getBucketAccountId()Sets the value ofCfnDirectoryBucketPropsMixin.DestinationProperty.getBucketArn()build()Builds the configured instance.Sets the value ofCfnDirectoryBucketPropsMixin.DestinationProperty.getFormat()Sets the value ofCfnDirectoryBucketPropsMixin.DestinationProperty.getPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketAccountId
@Stability(Stable) public CfnDirectoryBucketPropsMixin.DestinationProperty.Builder bucketAccountId(String bucketAccountId) Sets the value ofCfnDirectoryBucketPropsMixin.DestinationProperty.getBucketAccountId()- Parameters:
bucketAccountId- The account ID that owns the destination S3 bucket.- Returns:
this
-
bucketArn
@Stability(Stable) public CfnDirectoryBucketPropsMixin.DestinationProperty.Builder bucketArn(String bucketArn) Sets the value ofCfnDirectoryBucketPropsMixin.DestinationProperty.getBucketArn()- Parameters:
bucketArn- The Amazon Resource Name (ARN) of the destination Amazon S3 bucket to which data is exported.- Returns:
this
-
format
@Stability(Stable) public CfnDirectoryBucketPropsMixin.DestinationProperty.Builder format(String format) Sets the value ofCfnDirectoryBucketPropsMixin.DestinationProperty.getFormat()- Parameters:
format- Specifies the file format used when exporting data to Amazon S3.- Returns:
this
-
prefix
@Stability(Stable) public CfnDirectoryBucketPropsMixin.DestinationProperty.Builder prefix(String prefix) Sets the value ofCfnDirectoryBucketPropsMixin.DestinationProperty.getPrefix()- Parameters:
prefix- The prefix to use when exporting data. The prefix is prepended to all results.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDirectoryBucketPropsMixin.DestinationProperty>- Returns:
- a new instance of
CfnDirectoryBucketPropsMixin.DestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-