PersonBuilder

public final class PersonBuilder extends IndexableBuilder<PersonBuilder>

Builder to construct an Indexable for a person.

For reference, see: //schema.org/Person.

Public Method Summary

PersonBuilder
setEmail(String email)
Sets the email address of the person.
PersonBuilder
setIsSelf(boolean isSelf)
Sets whether this person is the current user.
PersonBuilder
setTelephone(String telephone)
Sets the telephone number of the person.

Inherited Method Summary

Public Methods

public PersonBuilder setEmail (String email)

Sets the email address of the person.

Parameters
email The email address of the person.

public PersonBuilder setIsSelf (boolean isSelf)

Sets whether this person is the current user.

Parameters
isSelf Whether this person is the current user.

public PersonBuilder setTelephone (String telephone)

Sets the telephone number of the person.

Parameters
telephone The telephone number of the person.

Send feedback about...

Need help? Visit our support page.