Interface StandardAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
StandardAttributes.Jsii$Proxy
Example:
UserPool.Builder.create(this, "myuserpool") // ... .standardAttributes(StandardAttributes.builder() .fullname(StandardAttribute.builder() .required(true) .mutable(false) .build()) .address(StandardAttribute.builder() .required(false) .mutable(true) .build()) .build()) .customAttributes(Map.of( "myappid", StringAttribute.Builder.create().minLen(5).maxLen(15).mutable(false).build(), "callingcode", NumberAttribute.Builder.create().min(1).max(3).mutable(true).build(), "isEmployee", BooleanAttribute.Builder.create().mutable(true).build(), "joinedOn", new DateTimeAttribute())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forStandardAttributes
static final class
An implementation forStandardAttributes
-
Method Summary
Modifier and TypeMethodDescriptionstatic StandardAttributes.Builder
builder()
default StandardAttribute
The user's postal address.default StandardAttribute
The user's birthday, represented as an ISO 8601:2004 format.default StandardAttribute
getEmail()
The user's e-mail address, represented as an RFC 5322 [RFC5322] addr-spec.default StandardAttribute
The surname or last name of the user.default StandardAttribute
The user's full name in displayable form, including all name parts, titles and suffixes.default StandardAttribute
The user's gender.default StandardAttribute
The user's first name or give name.default StandardAttribute
The time, the user's information was last updated.default StandardAttribute
The user's locale, represented as a BCP47 [RFC5646] language tag.default StandardAttribute
The user's middle name.default StandardAttribute
The user's nickname or casual name.default StandardAttribute
The user's telephone number.default StandardAttribute
The user's preffered username, different from the immutable user name.default StandardAttribute
The URL to the user's profile page.default StandardAttribute
The URL to the user's profile picture.default StandardAttribute
The user's time zone.default StandardAttribute
The URL to the user's web page or blog.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAddress
The user's postal address.Default: - see the defaults under `StandardAttribute`
-
getBirthdate
The user's birthday, represented as an ISO 8601:2004 format.Default: - see the defaults under `StandardAttribute`
-
getEmail
The user's e-mail address, represented as an RFC 5322 [RFC5322] addr-spec.Default: - see the defaults under `StandardAttribute`
-
getFamilyName
The surname or last name of the user.Default: - see the defaults under `StandardAttribute`
-
getFullname
The user's full name in displayable form, including all name parts, titles and suffixes.Default: - see the defaults under `StandardAttribute`
-
getGender
The user's gender.Default: - see the defaults under `StandardAttribute`
-
getGivenName
The user's first name or give name.Default: - see the defaults under `StandardAttribute`
-
getLastUpdateTime
The time, the user's information was last updated.Default: - see the defaults under `StandardAttribute`
-
getLocale
The user's locale, represented as a BCP47 [RFC5646] language tag.Default: - see the defaults under `StandardAttribute`
-
getMiddleName
The user's middle name.Default: - see the defaults under `StandardAttribute`
-
getNickname
The user's nickname or casual name.Default: - see the defaults under `StandardAttribute`
-
getPhoneNumber
The user's telephone number.Default: - see the defaults under `StandardAttribute`
-
getPreferredUsername
The user's preffered username, different from the immutable user name.Default: - see the defaults under `StandardAttribute`
-
getProfilePage
The URL to the user's profile page.Default: - see the defaults under `StandardAttribute`
-
getProfilePicture
The URL to the user's profile picture.Default: - see the defaults under `StandardAttribute`
-
getTimezone
The user's time zone.Default: - see the defaults under `StandardAttribute`
-
getWebsite
The URL to the user's web page or blog.Default: - see the defaults under `StandardAttribute`
-
builder
- Returns:
- a
StandardAttributes.Builder
ofStandardAttributes
-