Class CfnBucketPropsMixin.AnnotationTableConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnBucketPropsMixin.AnnotationTableConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucketPropsMixin.AnnotationTableConfigurationProperty>
- Enclosing interface:
CfnBucketPropsMixin.AnnotationTableConfigurationProperty
@Stability(Stable)
public static final class CfnBucketPropsMixin.AnnotationTableConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucketPropsMixin.AnnotationTableConfigurationProperty>
A builder for
CfnBucketPropsMixin.AnnotationTableConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configurationState(String configurationState) encryptionConfiguration(CfnBucketPropsMixin.MetadataTableEncryptionConfigurationProperty encryptionConfiguration) encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnBucketPropsMixin.AnnotationTableConfigurationProperty.getRole()Sets the value ofCfnBucketPropsMixin.AnnotationTableConfigurationProperty.getTableArn()Sets the value ofCfnBucketPropsMixin.AnnotationTableConfigurationProperty.getTableName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configurationState
@Stability(Stable) public CfnBucketPropsMixin.AnnotationTableConfigurationProperty.Builder configurationState(String configurationState) - Parameters:
configurationState- Specifies whether annotation table configuration is enabled or disabled.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnBucketPropsMixin.AnnotationTableConfigurationProperty.Builder encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnBucketPropsMixin.AnnotationTableConfigurationProperty.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- The encryption settings for an S3 Metadata journal table or inventory table configuration.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnBucketPropsMixin.AnnotationTableConfigurationProperty.Builder encryptionConfiguration(CfnBucketPropsMixin.MetadataTableEncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnBucketPropsMixin.AnnotationTableConfigurationProperty.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- The encryption settings for an S3 Metadata journal table or inventory table configuration.- Returns:
this
-
role
@Stability(Stable) public CfnBucketPropsMixin.AnnotationTableConfigurationProperty.Builder role(String role) Sets the value ofCfnBucketPropsMixin.AnnotationTableConfigurationProperty.getRole()- Parameters:
role- The ARN of the IAM role that grants Amazon S3 Metadata permission to read annotations from your bucket.- Returns:
this
-
tableArn
@Stability(Stable) public CfnBucketPropsMixin.AnnotationTableConfigurationProperty.Builder tableArn(String tableArn) Sets the value ofCfnBucketPropsMixin.AnnotationTableConfigurationProperty.getTableArn()- Parameters:
tableArn- The ARN of the annotation table.- Returns:
this
-
tableName
@Stability(Stable) public CfnBucketPropsMixin.AnnotationTableConfigurationProperty.Builder tableName(String tableName) Sets the value ofCfnBucketPropsMixin.AnnotationTableConfigurationProperty.getTableName()- Parameters:
tableName- The name of the annotation table.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBucketPropsMixin.AnnotationTableConfigurationProperty>- Returns:
- a new instance of
CfnBucketPropsMixin.AnnotationTableConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-