@Stability(value=Stable) public static final class CfnBucket.DestinationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBucket.DestinationProperty>
CfnBucket.DestinationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnBucket.DestinationProperty.Builder |
bucketAccountId(String bucketAccountId)
Sets the value of
CfnBucket.DestinationProperty.getBucketAccountId() |
CfnBucket.DestinationProperty.Builder |
bucketArn(String bucketArn)
Sets the value of
CfnBucket.DestinationProperty.getBucketArn() |
CfnBucket.DestinationProperty |
build()
Builds the configured instance.
|
CfnBucket.DestinationProperty.Builder |
format(String format)
Sets the value of
CfnBucket.DestinationProperty.getFormat() |
CfnBucket.DestinationProperty.Builder |
prefix(String prefix)
Sets the value of
CfnBucket.DestinationProperty.getPrefix() |
@Stability(value=Stable) public CfnBucket.DestinationProperty.Builder bucketArn(String bucketArn)
CfnBucket.DestinationProperty.getBucketArn()bucketArn - The Amazon Resource Name (ARN) of the bucket to which data is exported. This parameter is required.this@Stability(value=Stable) public CfnBucket.DestinationProperty.Builder format(String format)
CfnBucket.DestinationProperty.getFormat()format - Specifies the file format used when exporting data to Amazon S3. This parameter is required.
Allowed values : CSV | ORC | Parquetthis@Stability(value=Stable) public CfnBucket.DestinationProperty.Builder bucketAccountId(String bucketAccountId)
CfnBucket.DestinationProperty.getBucketAccountId()bucketAccountId - The account ID that owns the destination S3 bucket.
If no account ID is provided, the owner is not validated before exporting data.
Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.
this@Stability(value=Stable) public CfnBucket.DestinationProperty.Builder prefix(String prefix)
CfnBucket.DestinationProperty.getPrefix()prefix - The prefix to use when exporting data.
The prefix is prepended to all results.this@Stability(value=Stable) public CfnBucket.DestinationProperty build()
build in interface software.amazon.jsii.Builder<CfnBucket.DestinationProperty>CfnBucket.DestinationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.