Class Contact.Builder

  • Enclosing class:
    Contact

    public static class Contact.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • contactName

        public Contact.Builder contactName​(String contactName)
        The name of the contact person.
        Parameters:
        contactName - the value to set
        Returns:
        this builder
      • contactEmail

        public Contact.Builder contactEmail​(String contactEmail)
        The email of the contact person.
        Parameters:
        contactEmail - the value to set
        Returns:
        this builder
      • email

        public Contact.Builder email​(String email)
        The email of the contact person.
        Parameters:
        email - the value to set
        Returns:
        this builder
      • contactPhone

        public Contact.Builder contactPhone​(String contactPhone)
        The phone number of the contact person.
        Parameters:
        contactPhone - the value to set
        Returns:
        this builder
      • contactType

        public Contact.Builder contactType​(Contact.ContactType contactType)
        The type of contact, such as primary or alternate.
        Parameters:
        contactType - the value to set
        Returns:
        this builder