Class CfnBucket.MetadataDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnBucket.MetadataDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucket.MetadataDestinationProperty>
- Enclosing interface:
CfnBucket.MetadataDestinationProperty
@Stability(Stable)
public static final class CfnBucket.MetadataDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucket.MetadataDestinationProperty>
A builder for
CfnBucket.MetadataDestinationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.tableBucketArn(String tableBucketArn) Sets the value ofCfnBucket.MetadataDestinationProperty.getTableBucketArn()tableBucketType(String tableBucketType) Sets the value ofCfnBucket.MetadataDestinationProperty.getTableBucketType()tableNamespace(String tableNamespace) Sets the value ofCfnBucket.MetadataDestinationProperty.getTableNamespace()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tableBucketType
@Stability(Stable) public CfnBucket.MetadataDestinationProperty.Builder tableBucketType(String tableBucketType) Sets the value ofCfnBucket.MetadataDestinationProperty.getTableBucketType()- Parameters:
tableBucketType- The type of the table bucket where the metadata configuration is stored. This parameter is required. Theawsvalue indicates an AWS managed table bucket, and thecustomervalue indicates a customer-managed table bucket. V2 metadata configurations are stored in AWS managed table buckets, and V1 metadata configurations are stored in customer-managed table buckets.- Returns:
this
-
tableBucketArn
@Stability(Stable) public CfnBucket.MetadataDestinationProperty.Builder tableBucketArn(String tableBucketArn) Sets the value ofCfnBucket.MetadataDestinationProperty.getTableBucketArn()- Parameters:
tableBucketArn- The Amazon Resource Name (ARN) of the table bucket where the metadata configuration is stored.- Returns:
this
-
tableNamespace
@Stability(Stable) public CfnBucket.MetadataDestinationProperty.Builder tableNamespace(String tableNamespace) Sets the value ofCfnBucket.MetadataDestinationProperty.getTableNamespace()- Parameters:
tableNamespace- The namespace in the table bucket where the metadata tables for a metadata configuration are stored.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBucket.MetadataDestinationProperty>- Returns:
- a new instance of
CfnBucket.MetadataDestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-