Class StandardAttributesMask.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.StandardAttributesMask.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<StandardAttributesMask>
- Enclosing interface:
- StandardAttributesMask
@Stability(Stable)
public static final class StandardAttributesMask.Builder
extends Object
implements software.amazon.jsii.Builder<StandardAttributesMask>
A builder for 
StandardAttributesMask- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionSets the value ofStandardAttributesMask.getAddress()Sets the value ofStandardAttributesMask.getBirthdate()build()Builds the configured instance.Sets the value ofStandardAttributesMask.getEmail()emailVerified(Boolean emailVerified) Sets the value ofStandardAttributesMask.getEmailVerified()familyName(Boolean familyName) Sets the value ofStandardAttributesMask.getFamilyName()Sets the value ofStandardAttributesMask.getFullname()Sets the value ofStandardAttributesMask.getGender()Sets the value ofStandardAttributesMask.getGivenName()lastUpdateTime(Boolean lastUpdateTime) Sets the value ofStandardAttributesMask.getLastUpdateTime()Sets the value ofStandardAttributesMask.getLocale()middleName(Boolean middleName) Sets the value ofStandardAttributesMask.getMiddleName()Sets the value ofStandardAttributesMask.getNickname()phoneNumber(Boolean phoneNumber) Sets the value ofStandardAttributesMask.getPhoneNumber()phoneNumberVerified(Boolean phoneNumberVerified) Sets the value ofStandardAttributesMask.getPhoneNumberVerified()preferredUsername(Boolean preferredUsername) Sets the value ofStandardAttributesMask.getPreferredUsername()profilePage(Boolean profilePage) Sets the value ofStandardAttributesMask.getProfilePage()profilePicture(Boolean profilePicture) Sets the value ofStandardAttributesMask.getProfilePicture()Sets the value ofStandardAttributesMask.getTimezone()Sets the value ofStandardAttributesMask.getWebsite()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
addressSets the value ofStandardAttributesMask.getAddress()- Parameters:
- address- The user's postal address.
- Returns:
- this
 
- 
birthdateSets the value ofStandardAttributesMask.getBirthdate()- Parameters:
- birthdate- The user's birthday, represented as an ISO 8601:2004 format.
- Returns:
- this
 
- 
emailSets the value ofStandardAttributesMask.getEmail()- Parameters:
- email- The user's e-mail address, represented as an RFC 5322 [RFC5322] addr-spec.
- Returns:
- this
 
- 
emailVerifiedSets the value ofStandardAttributesMask.getEmailVerified()- Parameters:
- emailVerified- Whether the email address has been verified.
- Returns:
- this
 
- 
familyNameSets the value ofStandardAttributesMask.getFamilyName()- Parameters:
- familyName- The surname or last name of the user.
- Returns:
- this
 
- 
fullnameSets the value ofStandardAttributesMask.getFullname()- Parameters:
- fullname- The user's full name in displayable form, including all name parts, titles and suffixes.
- Returns:
- this
 
- 
genderSets the value ofStandardAttributesMask.getGender()- Parameters:
- gender- The user's gender.
- Returns:
- this
 
- 
givenNameSets the value ofStandardAttributesMask.getGivenName()- Parameters:
- givenName- The user's first name or give name.
- Returns:
- this
 
- 
lastUpdateTimeSets the value ofStandardAttributesMask.getLastUpdateTime()- Parameters:
- lastUpdateTime- The time, the user's information was last updated.
- Returns:
- this
 
- 
localeSets the value ofStandardAttributesMask.getLocale()- Parameters:
- locale- The user's locale, represented as a BCP47 [RFC5646] language tag.
- Returns:
- this
 
- 
middleNameSets the value ofStandardAttributesMask.getMiddleName()- Parameters:
- middleName- The user's middle name.
- Returns:
- this
 
- 
nicknameSets the value ofStandardAttributesMask.getNickname()- Parameters:
- nickname- The user's nickname or casual name.
- Returns:
- this
 
- 
phoneNumberSets the value ofStandardAttributesMask.getPhoneNumber()- Parameters:
- phoneNumber- The user's telephone number.
- Returns:
- this
 
- 
phoneNumberVerified@Stability(Stable) public StandardAttributesMask.Builder phoneNumberVerified(Boolean phoneNumberVerified) Sets the value ofStandardAttributesMask.getPhoneNumberVerified()- Parameters:
- phoneNumberVerified- Whether the phone number has been verified.
- Returns:
- this
 
- 
preferredUsername@Stability(Stable) public StandardAttributesMask.Builder preferredUsername(Boolean preferredUsername) Sets the value ofStandardAttributesMask.getPreferredUsername()- Parameters:
- preferredUsername- The user's preferred username, different from the immutable user name.
- Returns:
- this
 
- 
profilePageSets the value ofStandardAttributesMask.getProfilePage()- Parameters:
- profilePage- The URL to the user's profile page.
- Returns:
- this
 
- 
profilePictureSets the value ofStandardAttributesMask.getProfilePicture()- Parameters:
- profilePicture- The URL to the user's profile picture.
- Returns:
- this
 
- 
timezoneSets the value ofStandardAttributesMask.getTimezone()- Parameters:
- timezone- The user's time zone.
- Returns:
- this
 
- 
websiteSets the value ofStandardAttributesMask.getWebsite()- Parameters:
- website- The URL to the user's web page or blog.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<StandardAttributesMask>
- Returns:
- a new instance of StandardAttributesMask
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-