Class EnrichmentDomainWhoisInner


  • public final class EnrichmentDomainWhoisInner
    extends Object
    Whois information for a given domain and associated metadata.
    • Constructor Detail

      • EnrichmentDomainWhoisInner

        public EnrichmentDomainWhoisInner()
    • Method Detail

      • domain

        public String domain()
        Get the domain property: The domain for this whois record.
        Returns:
        the domain value.
      • withDomain

        public EnrichmentDomainWhoisInner withDomain​(String domain)
        Set the domain property: The domain for this whois record.
        Parameters:
        domain - the domain value to set.
        Returns:
        the EnrichmentDomainWhoisInner object itself.
      • server

        public String server()
        Get the server property: The hostname of this registrar's whois server.
        Returns:
        the server value.
      • withServer

        public EnrichmentDomainWhoisInner withServer​(String server)
        Set the server property: The hostname of this registrar's whois server.
        Parameters:
        server - the server value to set.
        Returns:
        the EnrichmentDomainWhoisInner object itself.
      • created

        public OffsetDateTime created()
        Get the created property: The timestamp at which this record was created.
        Returns:
        the created value.
      • withCreated

        public EnrichmentDomainWhoisInner withCreated​(OffsetDateTime created)
        Set the created property: The timestamp at which this record was created.
        Parameters:
        created - the created value to set.
        Returns:
        the EnrichmentDomainWhoisInner object itself.
      • updated

        public OffsetDateTime updated()
        Get the updated property: The timestamp at which this record was last updated.
        Returns:
        the updated value.
      • withUpdated

        public EnrichmentDomainWhoisInner withUpdated​(OffsetDateTime updated)
        Set the updated property: The timestamp at which this record was last updated.
        Parameters:
        updated - the updated value to set.
        Returns:
        the EnrichmentDomainWhoisInner object itself.
      • expires

        public OffsetDateTime expires()
        Get the expires property: The timestamp at which this record will expire.
        Returns:
        the expires value.
      • withExpires

        public EnrichmentDomainWhoisInner withExpires​(OffsetDateTime expires)
        Set the expires property: The timestamp at which this record will expire.
        Parameters:
        expires - the expires value to set.
        Returns:
        the EnrichmentDomainWhoisInner object itself.
      • parsedWhois

        public EnrichmentDomainWhoisDetails parsedWhois()
        Get the parsedWhois property: The whois record for a given domain.
        Returns:
        the parsedWhois value.
      • withParsedWhois

        public EnrichmentDomainWhoisInner withParsedWhois​(EnrichmentDomainWhoisDetails parsedWhois)
        Set the parsedWhois property: The whois record for a given domain.
        Parameters:
        parsedWhois - the parsedWhois value to set.
        Returns:
        the EnrichmentDomainWhoisInner object itself.
      • validate

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