Class EnrichmentDomainWhoisDetails

java.lang.Object
com.azure.resourcemanager.securityinsights.models.EnrichmentDomainWhoisDetails

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

    • EnrichmentDomainWhoisDetails

      public EnrichmentDomainWhoisDetails()
  • Method Details

    • registrar

      Get the registrar property: The registrar associated with this domain.
      Returns:
      the registrar value.
    • withRegistrar

      Set the registrar property: The registrar associated with this domain.
      Parameters:
      registrar - the registrar value to set.
      Returns:
      the EnrichmentDomainWhoisDetails object itself.
    • contacts

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

      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.