java.lang.Object
com.azure.resourcemanager.appservice.models.Contact

public final class Contact extends Object
Contact information for domain registration. If 'Domain Privacy' option is not selected then the contact information is made publicly available through the Whois directories as per ICANN requirements.
  • Constructor Details

    • Contact

      public Contact()
  • Method Details

    • addressMailing

      public Address addressMailing()
      Get the addressMailing property: Mailing address.
      Returns:
      the addressMailing value.
    • withAddressMailing

      public Contact withAddressMailing(Address addressMailing)
      Set the addressMailing property: Mailing address.
      Parameters:
      addressMailing - the addressMailing value to set.
      Returns:
      the Contact object itself.
    • email

      public String email()
      Get the email property: Email address.
      Returns:
      the email value.
    • withEmail

      public Contact withEmail(String email)
      Set the email property: Email address.
      Parameters:
      email - the email value to set.
      Returns:
      the Contact object itself.
    • fax

      public String fax()
      Get the fax property: Fax number.
      Returns:
      the fax value.
    • withFax

      public Contact withFax(String fax)
      Set the fax property: Fax number.
      Parameters:
      fax - the fax value to set.
      Returns:
      the Contact object itself.
    • jobTitle

      public String jobTitle()
      Get the jobTitle property: Job title.
      Returns:
      the jobTitle value.
    • withJobTitle

      public Contact withJobTitle(String jobTitle)
      Set the jobTitle property: Job title.
      Parameters:
      jobTitle - the jobTitle value to set.
      Returns:
      the Contact object itself.
    • nameFirst

      public String nameFirst()
      Get the nameFirst property: First name.
      Returns:
      the nameFirst value.
    • withNameFirst

      public Contact withNameFirst(String nameFirst)
      Set the nameFirst property: First name.
      Parameters:
      nameFirst - the nameFirst value to set.
      Returns:
      the Contact object itself.
    • nameLast

      public String nameLast()
      Get the nameLast property: Last name.
      Returns:
      the nameLast value.
    • withNameLast

      public Contact withNameLast(String nameLast)
      Set the nameLast property: Last name.
      Parameters:
      nameLast - the nameLast value to set.
      Returns:
      the Contact object itself.
    • nameMiddle

      public String nameMiddle()
      Get the nameMiddle property: Middle name.
      Returns:
      the nameMiddle value.
    • withNameMiddle

      public Contact withNameMiddle(String nameMiddle)
      Set the nameMiddle property: Middle name.
      Parameters:
      nameMiddle - the nameMiddle value to set.
      Returns:
      the Contact object itself.
    • organization

      public String organization()
      Get the organization property: Organization contact belongs to.
      Returns:
      the organization value.
    • withOrganization

      public Contact withOrganization(String organization)
      Set the organization property: Organization contact belongs to.
      Parameters:
      organization - the organization value to set.
      Returns:
      the Contact object itself.
    • phone

      public String phone()
      Get the phone property: Phone number.
      Returns:
      the phone value.
    • withPhone

      public Contact withPhone(String phone)
      Set the phone property: Phone number.
      Parameters:
      phone - the phone value to set.
      Returns:
      the Contact object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.