Class Contact.Builder

  • Enclosing class:
    Contact

    public static class Contact.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • firstName

        public Contact.Builder firstName​(String firstName)
        The first name of the contact
        Parameters:
        firstName - the value to set
        Returns:
        this builder
      • lastName

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

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