Class CustomAttributeProps.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CustomAttributeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CustomAttributeProps>
- Enclosing interface:
CustomAttributeProps
@Stability(Stable)
public static final class CustomAttributeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CustomAttributeProps>
A builder for
CustomAttributeProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCustomAttributeProps.getMutable()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mutable
Sets the value ofCustomAttributeProps.getMutable()
- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CustomAttributeProps>
- Returns:
- a new instance of
CustomAttributeProps
- Throws:
NullPointerException
- if any required attribute was not provided
-