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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forStandardAttributesstatic final classAn implementation forStandardAttributes -
Method Summary
Modifier and TypeMethodDescriptionstatic StandardAttributes.Builderbuilder()default StandardAttributeThe user's postal address.default StandardAttributeThe user's birthday, represented as an ISO 8601:2004 format.default StandardAttributegetEmail()The user's e-mail address, represented as an RFC 5322 [RFC5322] addr-spec.default StandardAttributeThe surname or last name of the user.default StandardAttributeThe user's full name in displayable form, including all name parts, titles and suffixes.default StandardAttributeThe user's gender.default StandardAttributeThe user's first name or give name.default StandardAttributeThe time, the user's information was last updated.default StandardAttributeThe user's locale, represented as a BCP47 [RFC5646] language tag.default StandardAttributeThe user's middle name.default StandardAttributeThe user's nickname or casual name.default StandardAttributeThe user's telephone number.default StandardAttributeThe user's preferred username, different from the immutable user name.default StandardAttributeThe URL to the user's profile page.default StandardAttributeThe URL to the user's profile picture.default StandardAttributeThe user's time zone.default StandardAttributeThe 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 preferred 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.BuilderofStandardAttributes
-