Class EnrichmentDomainWhoisContacts

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

public final class EnrichmentDomainWhoisContacts extends Object
The set of contacts associated with this domain.
  • Constructor Details

    • EnrichmentDomainWhoisContacts

      public EnrichmentDomainWhoisContacts()
  • Method Details

    • admin

      Get the admin property: The admin contact for this whois record.
      Returns:
      the admin value.
    • withAdmin

      Set the admin property: The admin contact for this whois record.
      Parameters:
      admin - the admin value to set.
      Returns:
      the EnrichmentDomainWhoisContacts object itself.
    • billing

      public EnrichmentDomainWhoisContact billing()
      Get the billing property: The billing contact for this whois record.
      Returns:
      the billing value.
    • withBilling

      Set the billing property: The billing contact for this whois record.
      Parameters:
      billing - the billing value to set.
      Returns:
      the EnrichmentDomainWhoisContacts object itself.
    • registrant

      public EnrichmentDomainWhoisContact registrant()
      Get the registrant property: The registrant contact for this whois record.
      Returns:
      the registrant value.
    • withRegistrant

      public EnrichmentDomainWhoisContacts withRegistrant(EnrichmentDomainWhoisContact registrant)
      Set the registrant property: The registrant contact for this whois record.
      Parameters:
      registrant - the registrant value to set.
      Returns:
      the EnrichmentDomainWhoisContacts object itself.
    • tech

      Get the tech property: The technical contact for this whois record.
      Returns:
      the tech value.
    • withTech

      Set the tech property: The technical contact for this whois record.
      Parameters:
      tech - the tech value to set.
      Returns:
      the EnrichmentDomainWhoisContacts object itself.
    • validate

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