@Stability(value=Stable) public static final class NumberAttributeProps.Builder extends Object implements software.amazon.jsii.Builder<NumberAttributeProps>
NumberAttributeProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
NumberAttributeProps |
build()
Builds the configured instance.
|
NumberAttributeProps.Builder |
max(Number max)
Sets the value of
NumberAttributeConstraints.getMax() |
NumberAttributeProps.Builder |
min(Number min)
Sets the value of
NumberAttributeConstraints.getMin() |
NumberAttributeProps.Builder |
mutable(Boolean mutable)
Sets the value of
CustomAttributeProps.getMutable() |
@Stability(value=Stable) public NumberAttributeProps.Builder max(Number max)
NumberAttributeConstraints.getMax()max - Maximum value of this attribute.this@Stability(value=Stable) public NumberAttributeProps.Builder min(Number min)
NumberAttributeConstraints.getMin()min - Minimum value of this attribute.this@Stability(value=Stable) public NumberAttributeProps.Builder mutable(Boolean mutable)
CustomAttributeProps.getMutable()mutable - Specifies whether the value of the attribute can be changed.
For any user pool attribute that's mapped to an identity provider attribute, you must set this parameter to true.
Amazon Cognito updates mapped attributes when users sign in to your application through an identity provider.
If an attribute is immutable, Amazon Cognito throws an error when it attempts to update the attribute.this@Stability(value=Stable) public NumberAttributeProps build()
build in interface software.amazon.jsii.Builder<NumberAttributeProps>NumberAttributePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.