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 Details

    • Builder

      public Builder()
  • Method Details

    • mutable

      @Stability(Stable) public CustomAttributeProps.Builder mutable(Boolean mutable)
      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

      @Stability(Stable) public CustomAttributeProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CustomAttributeProps>
      Returns:
      a new instance of CustomAttributeProps
      Throws:
      NullPointerException - if any required attribute was not provided