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