public static final class BooleanAttribute.Builder
extends java.lang.Object
BooleanAttribute
.Modifier and Type | Method and Description |
---|---|
BooleanAttribute |
build() |
static BooleanAttribute.Builder |
create() |
BooleanAttribute.Builder |
mutable(java.lang.Boolean mutable)
Specifies whether the value of the attribute can be changed.
|
public static BooleanAttribute.Builder create()
BooleanAttribute.Builder
.public BooleanAttribute.Builder mutable(java.lang.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
public BooleanAttribute build()