@Stability(value=Experimental) public static final class NumberAttributeConstraints.Builder extends Object implements software.amazon.jsii.Builder<NumberAttributeConstraints>
NumberAttributeConstraints| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
NumberAttributeConstraints |
build()
Builds the configured instance.
|
NumberAttributeConstraints.Builder |
max(Number max)
Sets the value of
NumberAttributeConstraints.getMax() |
NumberAttributeConstraints.Builder |
min(Number min)
Sets the value of
NumberAttributeConstraints.getMin() |
@Stability(value=Experimental) public NumberAttributeConstraints.Builder max(Number max)
NumberAttributeConstraints.getMax()max - Maximum value of this attribute.this@Stability(value=Experimental) public NumberAttributeConstraints.Builder min(Number min)
NumberAttributeConstraints.getMin()min - Minimum value of this attribute.this@Stability(value=Experimental) public NumberAttributeConstraints build()
build in interface software.amazon.jsii.Builder<NumberAttributeConstraints>NumberAttributeConstraintsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.