Class EnrichmentDomainWhoisContact


  • public final class EnrichmentDomainWhoisContact
    extends Object
    An individual contact associated with this domain.
    • Constructor Detail

      • EnrichmentDomainWhoisContact

        public EnrichmentDomainWhoisContact()
    • Method Detail

      • name

        public String name()
        Get the name property: The name of this contact.
        Returns:
        the name value.
      • withName

        public EnrichmentDomainWhoisContact withName​(String name)
        Set the name property: The name of this contact.
        Parameters:
        name - the name value to set.
        Returns:
        the EnrichmentDomainWhoisContact object itself.
      • org

        public String org()
        Get the org property: The organization for this contact.
        Returns:
        the org value.
      • withOrg

        public EnrichmentDomainWhoisContact withOrg​(String org)
        Set the org property: The organization for this contact.
        Parameters:
        org - the org value to set.
        Returns:
        the EnrichmentDomainWhoisContact object itself.
      • street

        public List<String> street()
        Get the street property: A list describing the street address for this contact.
        Returns:
        the street value.
      • withStreet

        public EnrichmentDomainWhoisContact withStreet​(List<String> street)
        Set the street property: A list describing the street address for this contact.
        Parameters:
        street - the street value to set.
        Returns:
        the EnrichmentDomainWhoisContact object itself.
      • city

        public String city()
        Get the city property: The city for this contact.
        Returns:
        the city value.
      • withCity

        public EnrichmentDomainWhoisContact withCity​(String city)
        Set the city property: The city for this contact.
        Parameters:
        city - the city value to set.
        Returns:
        the EnrichmentDomainWhoisContact object itself.
      • state

        public String state()
        Get the state property: The state for this contact.
        Returns:
        the state value.
      • withState

        public EnrichmentDomainWhoisContact withState​(String state)
        Set the state property: The state for this contact.
        Parameters:
        state - the state value to set.
        Returns:
        the EnrichmentDomainWhoisContact object itself.
      • postal

        public String postal()
        Get the postal property: The postal code for this contact.
        Returns:
        the postal value.
      • withPostal

        public EnrichmentDomainWhoisContact withPostal​(String postal)
        Set the postal property: The postal code for this contact.
        Parameters:
        postal - the postal value to set.
        Returns:
        the EnrichmentDomainWhoisContact object itself.
      • country

        public String country()
        Get the country property: The country for this contact.
        Returns:
        the country value.
      • withCountry

        public EnrichmentDomainWhoisContact withCountry​(String country)
        Set the country property: The country for this contact.
        Parameters:
        country - the country value to set.
        Returns:
        the EnrichmentDomainWhoisContact object itself.
      • phone

        public String phone()
        Get the phone property: The phone number for this contact.
        Returns:
        the phone value.
      • withPhone

        public EnrichmentDomainWhoisContact withPhone​(String phone)
        Set the phone property: The phone number for this contact.
        Parameters:
        phone - the phone value to set.
        Returns:
        the EnrichmentDomainWhoisContact object itself.
      • fax

        public String fax()
        Get the fax property: The fax number for this contact.
        Returns:
        the fax value.
      • withFax

        public EnrichmentDomainWhoisContact withFax​(String fax)
        Set the fax property: The fax number for this contact.
        Parameters:
        fax - the fax value to set.
        Returns:
        the EnrichmentDomainWhoisContact object itself.
      • email

        public String email()
        Get the email property: The email address for this contact.
        Returns:
        the email value.
      • withEmail

        public EnrichmentDomainWhoisContact withEmail​(String email)
        Set the email property: The email address for this contact.
        Parameters:
        email - the email value to set.
        Returns:
        the EnrichmentDomainWhoisContact object itself.
      • validate

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