@Stability(value=Stable) public static final class NumberAttribute.Builder extends Object implements software.amazon.jsii.Builder<NumberAttribute>
NumberAttribute.| Modifier and Type | Method and Description |
|---|---|
NumberAttribute |
build() |
static NumberAttribute.Builder |
create() |
NumberAttribute.Builder |
max(Number max)
Maximum value of this attribute.
|
NumberAttribute.Builder |
min(Number min)
Minimum value of this attribute.
|
NumberAttribute.Builder |
mutable(Boolean mutable)
Specifies whether the value of the attribute can be changed.
|
@Stability(value=Stable) public static NumberAttribute.Builder create()
NumberAttribute.Builder.@Stability(value=Stable) public NumberAttribute.Builder max(Number max)
Default: - no maximum value
max - Maximum value of this attribute. This parameter is required.this@Stability(value=Stable) public NumberAttribute.Builder min(Number min)
Default: - no minimum value
min - Minimum value of this attribute. This parameter is required.this@Stability(value=Stable) public NumberAttribute.Builder mutable(Boolean mutable)
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.
Default: false
mutable - Specifies whether the value of the attribute can be changed. This parameter is required.this@Stability(value=Stable) public NumberAttribute build()
build in interface software.amazon.jsii.Builder<NumberAttribute>Copyright © 2022. All rights reserved.