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 Summary
Constructors Constructor Description EnrichmentDomainWhoisContacts()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnrichmentDomainWhoisContact
admin()
Get the admin property: The admin contact for this whois record.EnrichmentDomainWhoisContact
billing()
Get the billing property: The billing contact for this whois record.EnrichmentDomainWhoisContact
registrant()
Get the registrant property: The registrant contact for this whois record.EnrichmentDomainWhoisContact
tech()
Get the tech property: The technical contact for this whois record.void
validate()
Validates the instance.EnrichmentDomainWhoisContacts
withAdmin(EnrichmentDomainWhoisContact admin)
Set the admin property: The admin contact for this whois record.EnrichmentDomainWhoisContacts
withBilling(EnrichmentDomainWhoisContact billing)
Set the billing property: The billing contact for this whois record.EnrichmentDomainWhoisContacts
withRegistrant(EnrichmentDomainWhoisContact registrant)
Set the registrant property: The registrant contact for this whois record.EnrichmentDomainWhoisContacts
withTech(EnrichmentDomainWhoisContact tech)
Set the tech property: The technical contact for this whois record.
-
-
-
Method Detail
-
admin
public EnrichmentDomainWhoisContact admin()
Get the admin property: The admin contact for this whois record.- Returns:
- the admin value.
-
withAdmin
public EnrichmentDomainWhoisContacts withAdmin(EnrichmentDomainWhoisContact admin)
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
public EnrichmentDomainWhoisContacts withBilling(EnrichmentDomainWhoisContact billing)
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
public EnrichmentDomainWhoisContact tech()
Get the tech property: The technical contact for this whois record.- Returns:
- the tech value.
-
withTech
public EnrichmentDomainWhoisContacts withTech(EnrichmentDomainWhoisContact tech)
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.
-
-