Class IntegerPartitionProjectionConfigurationProps.Builder
java.lang.Object
software.amazon.awscdk.services.glue.alpha.IntegerPartitionProjectionConfigurationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<IntegerPartitionProjectionConfigurationProps>
- Enclosing interface:
IntegerPartitionProjectionConfigurationProps
@Stability(Experimental)
public static final class IntegerPartitionProjectionConfigurationProps.Builder
extends Object
implements software.amazon.jsii.Builder<IntegerPartitionProjectionConfigurationProps>
A builder for
IntegerPartitionProjectionConfigurationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofIntegerPartitionProjectionConfigurationProps.getDigits()Sets the value ofIntegerPartitionProjectionConfigurationProps.getInterval()Sets the value ofIntegerPartitionProjectionConfigurationProps.getMax()Sets the value ofIntegerPartitionProjectionConfigurationProps.getMin()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
max
@Stability(Experimental) public IntegerPartitionProjectionConfigurationProps.Builder max(Number max) Sets the value ofIntegerPartitionProjectionConfigurationProps.getMax()- Parameters:
max- Maximum value for the integer partition range (inclusive). This parameter is required.- Returns:
this
-
min
@Stability(Experimental) public IntegerPartitionProjectionConfigurationProps.Builder min(Number min) Sets the value ofIntegerPartitionProjectionConfigurationProps.getMin()- Parameters:
min- Minimum value for the integer partition range (inclusive). This parameter is required.- Returns:
this
-
digits
@Stability(Experimental) public IntegerPartitionProjectionConfigurationProps.Builder digits(Number digits) Sets the value ofIntegerPartitionProjectionConfigurationProps.getDigits()- Parameters:
digits- Number of digits to pad the partition value with leading zeros. With digits: 4, partition values: 0001, 0002, ..., 0100- Returns:
this
-
interval
@Stability(Experimental) public IntegerPartitionProjectionConfigurationProps.Builder interval(Number interval) Sets the value ofIntegerPartitionProjectionConfigurationProps.getInterval()- Parameters:
interval- Interval between partition values.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IntegerPartitionProjectionConfigurationProps>- Returns:
- a new instance of
IntegerPartitionProjectionConfigurationProps - Throws:
NullPointerException- if any required attribute was not provided
-