@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.680Z") @Stability(value=Stable) public interface StandardAttributes extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
StandardAttributes.Builder
A builder for
StandardAttributes |
static class |
StandardAttributes.Jsii$Proxy
An implementation for
StandardAttributes |
| Modifier and Type | Method and Description |
|---|---|
static StandardAttributes.Builder |
builder() |
default StandardAttribute |
getAddress()
The user's postal address.
|
default StandardAttribute |
getBirthdate()
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 |
getFamilyName()
The surname or last name of the user.
|
default StandardAttribute |
getFullname()
The user's full name in displayable form, including all name parts, titles and suffixes.
|
default StandardAttribute |
getGender()
The user's gender.
|
default StandardAttribute |
getGivenName()
The user's first name or give name.
|
default StandardAttribute |
getLastUpdateTime()
The time, the user's information was last updated.
|
default StandardAttribute |
getLocale()
The user's locale, represented as a BCP47 [RFC5646] language tag.
|
default StandardAttribute |
getMiddleName()
The user's middle name.
|
default StandardAttribute |
getNickname()
The user's nickname or casual name.
|
default StandardAttribute |
getPhoneNumber()
The user's telephone number.
|
default StandardAttribute |
getPreferredUsername()
The user's preffered username, different from the immutable user name.
|
default StandardAttribute |
getProfilePage()
The URL to the user's profile page.
|
default StandardAttribute |
getProfilePicture()
The URL to the user's profile picture.
|
default StandardAttribute |
getTimezone()
The user's time zone.
|
default StandardAttribute |
getWebsite()
The URL to the user's web page or blog.
|
@Stability(value=Stable) @Nullable default StandardAttribute getAddress()
Default: - see the defaults under `StandardAttribute`
@Stability(value=Stable) @Nullable default StandardAttribute getBirthdate()
Default: - see the defaults under `StandardAttribute`
@Stability(value=Stable) @Nullable default StandardAttribute getEmail()
Default: - see the defaults under `StandardAttribute`
@Stability(value=Stable) @Nullable default StandardAttribute getFamilyName()
Default: - see the defaults under `StandardAttribute`
@Stability(value=Stable) @Nullable default StandardAttribute getFullname()
Default: - see the defaults under `StandardAttribute`
@Stability(value=Stable) @Nullable default StandardAttribute getGender()
Default: - see the defaults under `StandardAttribute`
@Stability(value=Stable) @Nullable default StandardAttribute getGivenName()
Default: - see the defaults under `StandardAttribute`
@Stability(value=Stable) @Nullable default StandardAttribute getLastUpdateTime()
Default: - see the defaults under `StandardAttribute`
@Stability(value=Stable) @Nullable default StandardAttribute getLocale()
Default: - see the defaults under `StandardAttribute`
@Stability(value=Stable) @Nullable default StandardAttribute getMiddleName()
Default: - see the defaults under `StandardAttribute`
@Stability(value=Stable) @Nullable default StandardAttribute getNickname()
Default: - see the defaults under `StandardAttribute`
@Stability(value=Stable) @Nullable default StandardAttribute getPhoneNumber()
Default: - see the defaults under `StandardAttribute`
@Stability(value=Stable) @Nullable default StandardAttribute getPreferredUsername()
Default: - see the defaults under `StandardAttribute`
@Stability(value=Stable) @Nullable default StandardAttribute getProfilePage()
Default: - see the defaults under `StandardAttribute`
@Stability(value=Stable) @Nullable default StandardAttribute getProfilePicture()
Default: - see the defaults under `StandardAttribute`
@Stability(value=Stable) @Nullable default StandardAttribute getTimezone()
Default: - see the defaults under `StandardAttribute`
@Stability(value=Stable) @Nullable default StandardAttribute getWebsite()
Default: - see the defaults under `StandardAttribute`
@Stability(value=Stable) static StandardAttributes.Builder builder()
StandardAttributes.Builder of StandardAttributesCopyright © 2022. All rights reserved.