Class CfnTable.CompactionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3tables.CfnTable.CompactionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTable.CompactionProperty>
- Enclosing interface:
CfnTable.CompactionProperty
@Stability(Stable)
public static final class CfnTable.CompactionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTable.CompactionProperty>
A builder for
CfnTable.CompactionProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTable.CompactionProperty.getStatus()
targetFileSizeMb
(Number targetFileSizeMb) Sets the value ofCfnTable.CompactionProperty.getTargetFileSizeMb()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
status
Sets the value ofCfnTable.CompactionProperty.getStatus()
- Parameters:
status
- Indicates whether the Compaction maintenance action is enabled.- Returns:
this
-
targetFileSizeMb
@Stability(Stable) public CfnTable.CompactionProperty.Builder targetFileSizeMb(Number targetFileSizeMb) Sets the value ofCfnTable.CompactionProperty.getTargetFileSizeMb()
- Parameters:
targetFileSizeMb
- The target file size for the table in MB.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTable.CompactionProperty>
- Returns:
- a new instance of
CfnTable.CompactionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-