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