| Constructor and Description |
|---|
Builder(Person person)
Create a builder initialized with the values from the specified person argument
|
Builder(PersonId personId)
Create a builder with the given the
PersonId for the Person to be constructed |
| Modifier and Type | Method and Description |
|---|---|
Person.Builder |
aboutMe(String aboutMe)
Sets the value of the "about me" string for the
Person being constructed |
Person.Builder |
addresses(List<Address> addresses)
Set the list of addresses for the
Person being constructed |
Person |
build()
Build the
Person |
Person.Builder |
currentLocation(Address currentLocation)
Sets the current location for the person.
|
Person.Builder |
dateOfBirth(Date date)
Sets the person's date of birth
|
Person.Builder |
emailAddresses(List<EmailAddress> emailAddresses)
Sets the list of email addressees for the
Person being constructed |
Person.Builder |
name(Name name)
Set the
Name of the Person being constructed |
Person.Builder |
phoneNumbers(List<PhoneNumber> phoneNumbers)
Set the list of phone numbers for the
Person being constructed |
Person.Builder |
profileUri(URI uri)
Set the profile URI of the
Person being constructed |
Person.Builder |
status(String status)
Sets the value of the person's "status" text
|
Person.Builder |
thumbnailUri(URI uri)
Set the thumbnail URI of the
Person being constructed |
Person.Builder |
timeZone(int timeZone)
Sets the time zone offset for the person.
|
Person.Builder |
urls(List<URI> urls)
Sets a list of interesting URLs for the person
|
public Builder(Person person)
person - the person from which this builder's values should be initializedpublic Builder(PersonId personId)
PersonId for the Person to be constructedpersonId - the unique ID of the person being constructedpublic Person.Builder name(Name name)
Name of the Person being constructedname - the full name of the person being constructedpublic Person.Builder profileUri(URI uri)
Person being constructeduri - the profile URI to setpublic Person.Builder thumbnailUri(URI uri)
Person being constructeduri - the thumbnail URI to setpublic Person.Builder addresses(List<Address> addresses)
Person being constructedaddresses - the addresses to setpublic Person.Builder phoneNumbers(List<PhoneNumber> phoneNumbers)
Person being constructedphoneNumbers - the phone numbers to setpublic Person.Builder emailAddresses(List<EmailAddress> emailAddresses)
Person being constructedemailAddresses - the email addresses to setpublic Person.Builder aboutMe(String aboutMe)
Person being constructedaboutMe - the text to set for the "about me" blurbpublic Person.Builder status(String status)
status - the text to set for the person's statuspublic Person.Builder dateOfBirth(Date date)
date - the date of birthpublic Person.Builder timeZone(int timeZone)
timeZone - the time zone offset for the person.public Person.Builder currentLocation(Address currentLocation)
currentLocation - the location to set, as an Addresspublic Person.Builder urls(List<URI> urls)
urls - the URLs for the personpublic Person build()
PersonPersonCopyright © 2024 Atlassian. All rights reserved.