@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:44.616Z") @Stability(value=Stable) public interface StandardAttributesMask extends software.amazon.jsii.JsiiSerializable
Example:
UserPool pool = new UserPool(this, "Pool");
ClientAttributes clientWriteAttributes = (new ClientAttributes()).withStandardAttributes(StandardAttributesMask.builder().fullname(true).email(true).build()).withCustomAttributes("favouritePizza", "favouriteBeverage");
ClientAttributes clientReadAttributes = clientWriteAttributes.withStandardAttributes(StandardAttributesMask.builder().emailVerified(true).build()).withCustomAttributes("pointsEarned");
pool.addClient("app-client", UserPoolClientOptions.builder()
// ...
.readAttributes(clientReadAttributes)
.writeAttributes(clientWriteAttributes)
.build());
| Modifier and Type | Interface and Description |
|---|---|
static class |
StandardAttributesMask.Builder
A builder for
StandardAttributesMask |
static class |
StandardAttributesMask.Jsii$Proxy
An implementation for
StandardAttributesMask |
| Modifier and Type | Method and Description |
|---|---|
static StandardAttributesMask.Builder |
builder() |
default Boolean |
getAddress()
The user's postal address.
|
default Boolean |
getBirthdate()
The user's birthday, represented as an ISO 8601:2004 format.
|
default Boolean |
getEmail()
The user's e-mail address, represented as an RFC 5322 [RFC5322] addr-spec.
|
default Boolean |
getEmailVerified()
Whether the email address has been verified.
|
default Boolean |
getFamilyName()
The surname or last name of the user.
|
default Boolean |
getFullname()
The user's full name in displayable form, including all name parts, titles and suffixes.
|
default Boolean |
getGender()
The user's gender.
|
default Boolean |
getGivenName()
The user's first name or give name.
|
default Boolean |
getLastUpdateTime()
The time, the user's information was last updated.
|
default Boolean |
getLocale()
The user's locale, represented as a BCP47 [RFC5646] language tag.
|
default Boolean |
getMiddleName()
The user's middle name.
|
default Boolean |
getNickname()
The user's nickname or casual name.
|
default Boolean |
getPhoneNumber()
The user's telephone number.
|
default Boolean |
getPhoneNumberVerified()
Whether the phone number has been verified.
|
default Boolean |
getPreferredUsername()
The user's preffered username, different from the immutable user name.
|
default Boolean |
getProfilePage()
The URL to the user's profile page.
|
default Boolean |
getProfilePicture()
The URL to the user's profile picture.
|
default Boolean |
getTimezone()
The user's time zone.
|
default Boolean |
getWebsite()
The URL to the user's web page or blog.
|
@Stability(value=Stable) @Nullable default Boolean getAddress()
Default: false
@Stability(value=Stable) @Nullable default Boolean getBirthdate()
Default: false
@Stability(value=Stable) @Nullable default Boolean getEmail()
Default: false
@Stability(value=Stable) @Nullable default Boolean getEmailVerified()
Default: false
@Stability(value=Stable) @Nullable default Boolean getFamilyName()
Default: false
@Stability(value=Stable) @Nullable default Boolean getFullname()
Default: false
@Stability(value=Stable) @Nullable default Boolean getGender()
Default: false
@Stability(value=Stable) @Nullable default Boolean getGivenName()
Default: false
@Stability(value=Stable) @Nullable default Boolean getLastUpdateTime()
Default: false
@Stability(value=Stable) @Nullable default Boolean getLocale()
Default: false
@Stability(value=Stable) @Nullable default Boolean getMiddleName()
Default: false
@Stability(value=Stable) @Nullable default Boolean getNickname()
Default: false
@Stability(value=Stable) @Nullable default Boolean getPhoneNumber()
Default: false
@Stability(value=Stable) @Nullable default Boolean getPhoneNumberVerified()
Default: false
@Stability(value=Stable) @Nullable default Boolean getPreferredUsername()
Default: false
@Stability(value=Stable) @Nullable default Boolean getProfilePage()
Default: false
@Stability(value=Stable) @Nullable default Boolean getProfilePicture()
Default: false
@Stability(value=Stable) @Nullable default Boolean getTimezone()
Default: false
@Stability(value=Stable) @Nullable default Boolean getWebsite()
Default: false
@Stability(value=Stable) static StandardAttributesMask.Builder builder()
StandardAttributesMask.Builder of StandardAttributesMaskCopyright © 2022. All rights reserved.