Class EnrichmentDomainWhoisDetails


  • public final class EnrichmentDomainWhoisDetails
    extends Object
    The whois record for a given domain.
    • Constructor Detail

      • EnrichmentDomainWhoisDetails

        public EnrichmentDomainWhoisDetails()
    • Method Detail

      • contacts

        public EnrichmentDomainWhoisContacts contacts()
        Get the contacts property: The set of contacts associated with this domain.
        Returns:
        the contacts value.
      • withContacts

        public EnrichmentDomainWhoisDetails withContacts​(EnrichmentDomainWhoisContacts contacts)
        Set the contacts property: The set of contacts associated with this domain.
        Parameters:
        contacts - the contacts value to set.
        Returns:
        the EnrichmentDomainWhoisDetails object itself.
      • nameServers

        public List<String> nameServers()
        Get the nameServers property: A list of name servers associated with this domain.
        Returns:
        the nameServers value.
      • withNameServers

        public EnrichmentDomainWhoisDetails withNameServers​(List<String> nameServers)
        Set the nameServers property: A list of name servers associated with this domain.
        Parameters:
        nameServers - the nameServers value to set.
        Returns:
        the EnrichmentDomainWhoisDetails object itself.
      • statuses

        public List<String> statuses()
        Get the statuses property: The set of status flags for this whois record.
        Returns:
        the statuses value.
      • withStatuses

        public EnrichmentDomainWhoisDetails withStatuses​(List<String> statuses)
        Set the statuses property: The set of status flags for this whois record.
        Parameters:
        statuses - the statuses value to set.
        Returns:
        the EnrichmentDomainWhoisDetails object itself.
      • validate

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