Interface AttributeType.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AttributeType.Builder,AttributeType>, SdkBuilder<AttributeType.Builder,AttributeType>, SdkPojo
Enclosing class:
AttributeType

@Mutable @NotThreadSafe public static interface AttributeType.Builder extends SdkPojo, CopyableBuilder<AttributeType.Builder,AttributeType>
  • Method Details

    • name

      The name of the attribute, for example email or custom:department.

      In some older user pools, the regex pattern for acceptable values of this parameter is [\p{L}\p{M}\p{S}\p{N}\p{P}]+. Older pools will eventually be updated to use the new pattern. Affected user pools are those created before May 2024 in US East (N. Virginia), US East (Ohio), US West (N. California), US West (Oregon), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney), Canada (Central), Europe (Frankfurt), Europe (Ireland), Europe (London), Europe (Paris), Europe (Stockholm), Middle East (Bahrain), and South America (São Paulo).

      Parameters:
      name - The name of the attribute, for example email or custom:department.

      In some older user pools, the regex pattern for acceptable values of this parameter is [\p{L}\p{M}\p{S}\p{N}\p{P}]+. Older pools will eventually be updated to use the new pattern. Affected user pools are those created before May 2024 in US East (N. Virginia), US East (Ohio), US West (N. California), US West (Oregon), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney), Canada (Central), Europe (Frankfurt), Europe (Ireland), Europe (London), Europe (Paris), Europe (Stockholm), Middle East (Bahrain), and South America (São Paulo).

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • value

      The value of the attribute.

      Parameters:
      value - The value of the attribute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.