Class CfnBucket.JournalTableConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnBucket.JournalTableConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucket.JournalTableConfigurationProperty>
- Enclosing interface:
CfnBucket.JournalTableConfigurationProperty
@Stability(Stable)
public static final class CfnBucket.JournalTableConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucket.JournalTableConfigurationProperty>
A builder for
CfnBucket.JournalTableConfigurationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.encryptionConfiguration
(IResolvable encryptionConfiguration) Sets the value ofCfnBucket.JournalTableConfigurationProperty.getEncryptionConfiguration()
encryptionConfiguration
(CfnBucket.MetadataTableEncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnBucket.JournalTableConfigurationProperty.getEncryptionConfiguration()
recordExpiration
(IResolvable recordExpiration) Sets the value ofCfnBucket.JournalTableConfigurationProperty.getRecordExpiration()
recordExpiration
(CfnBucket.RecordExpirationProperty recordExpiration) Sets the value ofCfnBucket.JournalTableConfigurationProperty.getRecordExpiration()
Sets the value ofCfnBucket.JournalTableConfigurationProperty.getTableArn()
Sets the value ofCfnBucket.JournalTableConfigurationProperty.getTableName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
recordExpiration
@Stability(Stable) public CfnBucket.JournalTableConfigurationProperty.Builder recordExpiration(IResolvable recordExpiration) Sets the value ofCfnBucket.JournalTableConfigurationProperty.getRecordExpiration()
- Parameters:
recordExpiration
- The journal table record expiration settings for the journal table. This parameter is required.- Returns:
this
-
recordExpiration
@Stability(Stable) public CfnBucket.JournalTableConfigurationProperty.Builder recordExpiration(CfnBucket.RecordExpirationProperty recordExpiration) Sets the value ofCfnBucket.JournalTableConfigurationProperty.getRecordExpiration()
- Parameters:
recordExpiration
- The journal table record expiration settings for the journal table. This parameter is required.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnBucket.JournalTableConfigurationProperty.Builder encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnBucket.JournalTableConfigurationProperty.getEncryptionConfiguration()
- Parameters:
encryptionConfiguration
- The encryption configuration for the journal table.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnBucket.JournalTableConfigurationProperty.Builder encryptionConfiguration(CfnBucket.MetadataTableEncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnBucket.JournalTableConfigurationProperty.getEncryptionConfiguration()
- Parameters:
encryptionConfiguration
- The encryption configuration for the journal table.- Returns:
this
-
tableArn
@Stability(Stable) public CfnBucket.JournalTableConfigurationProperty.Builder tableArn(String tableArn) Sets the value ofCfnBucket.JournalTableConfigurationProperty.getTableArn()
- Parameters:
tableArn
- The Amazon Resource Name (ARN) for the journal table.- Returns:
this
-
tableName
@Stability(Stable) public CfnBucket.JournalTableConfigurationProperty.Builder tableName(String tableName) Sets the value ofCfnBucket.JournalTableConfigurationProperty.getTableName()
- Parameters:
tableName
- The name of the journal table.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBucket.JournalTableConfigurationProperty>
- Returns:
- a new instance of
CfnBucket.JournalTableConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-