Class CfnTableBucketPropsMixin.UnreferencedFileRemovalProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3tables.CfnTableBucketPropsMixin.UnreferencedFileRemovalProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTableBucketPropsMixin.UnreferencedFileRemovalProperty>
- Enclosing interface:
CfnTableBucketPropsMixin.UnreferencedFileRemovalProperty
@Stability(Stable)
public static final class CfnTableBucketPropsMixin.UnreferencedFileRemovalProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTableBucketPropsMixin.UnreferencedFileRemovalProperty>
A builder for
CfnTableBucketPropsMixin.UnreferencedFileRemovalProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.noncurrentDays(Number noncurrentDays) Sets the value ofCfnTableBucketPropsMixin.UnreferencedFileRemovalProperty.getStatus()unreferencedDays(Number unreferencedDays)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
noncurrentDays
@Stability(Stable) public CfnTableBucketPropsMixin.UnreferencedFileRemovalProperty.Builder noncurrentDays(Number noncurrentDays) - Parameters:
noncurrentDays- The number of days an object can be noncurrent before Amazon S3 deletes it.- Returns:
this
-
status
@Stability(Stable) public CfnTableBucketPropsMixin.UnreferencedFileRemovalProperty.Builder status(String status) Sets the value ofCfnTableBucketPropsMixin.UnreferencedFileRemovalProperty.getStatus()- Parameters:
status- The status of the unreferenced file removal configuration for your table bucket.- Returns:
this
-
unreferencedDays
@Stability(Stable) public CfnTableBucketPropsMixin.UnreferencedFileRemovalProperty.Builder unreferencedDays(Number unreferencedDays) - Parameters:
unreferencedDays- The number of days an object must be unreferenced by your table before Amazon S3 marks the object as noncurrent.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTableBucketPropsMixin.UnreferencedFileRemovalProperty>- Returns:
- a new instance of
CfnTableBucketPropsMixin.UnreferencedFileRemovalProperty - Throws:
NullPointerException- if any required attribute was not provided
-