public static final class StandardAttributes.Builder
extends java.lang.Object
StandardAttributes
Constructor and Description |
---|
Builder() |
public StandardAttributes.Builder address(StandardAttribute address)
StandardAttributes.getAddress()
address
- The user's postal address.this
public StandardAttributes.Builder birthdate(StandardAttribute birthdate)
StandardAttributes.getBirthdate()
birthdate
- The user's birthday, represented as an ISO 8601:2004 format.this
public StandardAttributes.Builder email(StandardAttribute email)
StandardAttributes.getEmail()
email
- The user's e-mail address, represented as an RFC 5322 [RFC5322] addr-spec.this
@Deprecated public StandardAttributes.Builder emailVerified(StandardAttribute emailVerified)
StandardAttributes.getEmailVerified()
emailVerified
- DEPRECATED.this
public StandardAttributes.Builder familyName(StandardAttribute familyName)
StandardAttributes.getFamilyName()
familyName
- The surname or last name of the user.this
public StandardAttributes.Builder fullname(StandardAttribute fullname)
StandardAttributes.getFullname()
fullname
- The user's full name in displayable form, including all name parts, titles and suffixes.this
public StandardAttributes.Builder gender(StandardAttribute gender)
StandardAttributes.getGender()
gender
- The user's gender.this
public StandardAttributes.Builder givenName(StandardAttribute givenName)
StandardAttributes.getGivenName()
givenName
- The user's first name or give name.this
public StandardAttributes.Builder lastUpdateTime(StandardAttribute lastUpdateTime)
StandardAttributes.getLastUpdateTime()
lastUpdateTime
- The time, the user's information was last updated.this
public StandardAttributes.Builder locale(StandardAttribute locale)
StandardAttributes.getLocale()
locale
- The user's locale, represented as a BCP47 [RFC5646] language tag.this
public StandardAttributes.Builder middleName(StandardAttribute middleName)
StandardAttributes.getMiddleName()
middleName
- The user's middle name.this
public StandardAttributes.Builder nickname(StandardAttribute nickname)
StandardAttributes.getNickname()
nickname
- The user's nickname or casual name.this
public StandardAttributes.Builder phoneNumber(StandardAttribute phoneNumber)
StandardAttributes.getPhoneNumber()
phoneNumber
- The user's telephone number.this
@Deprecated public StandardAttributes.Builder phoneNumberVerified(StandardAttribute phoneNumberVerified)
StandardAttributes.getPhoneNumberVerified()
phoneNumberVerified
- DEPRECATED.this
public StandardAttributes.Builder preferredUsername(StandardAttribute preferredUsername)
StandardAttributes.getPreferredUsername()
preferredUsername
- The user's preffered username, different from the immutable user name.this
public StandardAttributes.Builder profilePage(StandardAttribute profilePage)
StandardAttributes.getProfilePage()
profilePage
- The URL to the user's profile page.this
public StandardAttributes.Builder profilePicture(StandardAttribute profilePicture)
StandardAttributes.getProfilePicture()
profilePicture
- The URL to the user's profile picture.this
public StandardAttributes.Builder timezone(StandardAttribute timezone)
StandardAttributes.getTimezone()
timezone
- The user's time zone.this
public StandardAttributes.Builder website(StandardAttribute website)
StandardAttributes.getWebsite()
website
- The URL to the user's web page or blog.this
public StandardAttributes build()
StandardAttributes
java.lang.NullPointerException
- if any required attribute was not provided