Class CfnTableBucketProps.Builder
java.lang.Object
software.amazon.awscdk.services.s3tables.CfnTableBucketProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTableBucketProps>
- Enclosing interface:
CfnTableBucketProps
@Stability(Stable)
public static final class CfnTableBucketProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTableBucketProps>
A builder for
CfnTableBucketProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnTableBucketProps.getEncryptionConfiguration()encryptionConfiguration(CfnTableBucket.EncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnTableBucketProps.getEncryptionConfiguration()metricsConfiguration(IResolvable metricsConfiguration) Sets the value ofCfnTableBucketProps.getMetricsConfiguration()metricsConfiguration(CfnTableBucket.MetricsConfigurationProperty metricsConfiguration) Sets the value ofCfnTableBucketProps.getMetricsConfiguration()storageClassConfiguration(IResolvable storageClassConfiguration) Sets the value ofCfnTableBucketProps.getStorageClassConfiguration()storageClassConfiguration(CfnTableBucket.StorageClassConfigurationProperty storageClassConfiguration) Sets the value ofCfnTableBucketProps.getStorageClassConfiguration()tableBucketName(String tableBucketName) Sets the value ofCfnTableBucketProps.getTableBucketName()Sets the value ofCfnTableBucketProps.getTags()unreferencedFileRemoval(IResolvable unreferencedFileRemoval) Sets the value ofCfnTableBucketProps.getUnreferencedFileRemoval()unreferencedFileRemoval(CfnTableBucket.UnreferencedFileRemovalProperty unreferencedFileRemoval) Sets the value ofCfnTableBucketProps.getUnreferencedFileRemoval()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tableBucketName
Sets the value ofCfnTableBucketProps.getTableBucketName()- Parameters:
tableBucketName- The name for the table bucket. This parameter is required.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnTableBucketProps.Builder encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnTableBucketProps.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- Configuration specifying how data should be encrypted. This structure defines the encryption algorithm and optional KMS key to be used for server-side encryption.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnTableBucketProps.Builder encryptionConfiguration(CfnTableBucket.EncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnTableBucketProps.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- Configuration specifying how data should be encrypted. This structure defines the encryption algorithm and optional KMS key to be used for server-side encryption.- Returns:
this
-
metricsConfiguration
@Stability(Stable) public CfnTableBucketProps.Builder metricsConfiguration(IResolvable metricsConfiguration) Sets the value ofCfnTableBucketProps.getMetricsConfiguration()- Parameters:
metricsConfiguration- Settings governing the Metric configuration for the table bucket.- Returns:
this
-
metricsConfiguration
@Stability(Stable) public CfnTableBucketProps.Builder metricsConfiguration(CfnTableBucket.MetricsConfigurationProperty metricsConfiguration) Sets the value ofCfnTableBucketProps.getMetricsConfiguration()- Parameters:
metricsConfiguration- Settings governing the Metric configuration for the table bucket.- Returns:
this
-
storageClassConfiguration
@Stability(Stable) public CfnTableBucketProps.Builder storageClassConfiguration(IResolvable storageClassConfiguration) Sets the value ofCfnTableBucketProps.getStorageClassConfiguration()- Parameters:
storageClassConfiguration- Specifies storage class settings for the table bucket.- Returns:
this
-
storageClassConfiguration
@Stability(Stable) public CfnTableBucketProps.Builder storageClassConfiguration(CfnTableBucket.StorageClassConfigurationProperty storageClassConfiguration) Sets the value ofCfnTableBucketProps.getStorageClassConfiguration()- Parameters:
storageClassConfiguration- Specifies storage class settings for the table bucket.- Returns:
this
-
tags
Sets the value ofCfnTableBucketProps.getTags()- Parameters:
tags- User tags (key-value pairs) to associate with the table bucket.- Returns:
this
-
unreferencedFileRemoval
@Stability(Stable) public CfnTableBucketProps.Builder unreferencedFileRemoval(IResolvable unreferencedFileRemoval) Sets the value ofCfnTableBucketProps.getUnreferencedFileRemoval()- Parameters:
unreferencedFileRemoval- The unreferenced file removal settings for your table bucket. Unreferenced file removal identifies and deletes all objects that are not referenced by any table snapshots. For more information, see the Amazon S3 User Guide .- Returns:
this
-
unreferencedFileRemoval
@Stability(Stable) public CfnTableBucketProps.Builder unreferencedFileRemoval(CfnTableBucket.UnreferencedFileRemovalProperty unreferencedFileRemoval) Sets the value ofCfnTableBucketProps.getUnreferencedFileRemoval()- Parameters:
unreferencedFileRemoval- The unreferenced file removal settings for your table bucket. Unreferenced file removal identifies and deletes all objects that are not referenced by any table snapshots. For more information, see the Amazon S3 User Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTableBucketProps>- Returns:
- a new instance of
CfnTableBucketProps - Throws:
NullPointerException- if any required attribute was not provided
-