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