Class CompactionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3tables.alpha.CompactionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CompactionProperty>
- Enclosing interface:
CompactionProperty
@Stability(Experimental)
public static final class CompactionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CompactionProperty>
A builder for
CompactionProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCompactionProperty.getStatus()
targetFileSizeMb
(Number targetFileSizeMb) Sets the value ofCompactionProperty.getTargetFileSizeMb()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
status
Sets the value ofCompactionProperty.getStatus()
- Parameters:
status
- Status of the compaction maintenance action. This parameter is required.- Returns:
this
-
targetFileSizeMb
@Stability(Experimental) public CompactionProperty.Builder targetFileSizeMb(Number targetFileSizeMb) Sets the value ofCompactionProperty.getTargetFileSizeMb()
- Parameters:
targetFileSizeMb
- Target file size in megabytes for compaction. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CompactionProperty>
- Returns:
- a new instance of
CompactionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-