Class EnrichmentDomainWhoisDetails
java.lang.Object
com.azure.resourcemanager.securityinsights.models.EnrichmentDomainWhoisDetails
The whois record for a given domain.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncontacts()
Get the contacts property: The set of contacts associated with this domain.Get the nameServers property: A list of name servers associated with this domain.Get the registrar property: The registrar associated with this domain.statuses()
Get the statuses property: The set of status flags for this whois record.void
validate()
Validates the instance.withContacts
(EnrichmentDomainWhoisContacts contacts) Set the contacts property: The set of contacts associated with this domain.withNameServers
(List<String> nameServers) Set the nameServers property: A list of name servers associated with this domain.Set the registrar property: The registrar associated with this domain.withStatuses
(List<String> statuses) Set the statuses property: The set of status flags for this whois record.
-
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
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
Get the nameServers property: A list of name servers associated with this domain.- Returns:
- the nameServers value.
-
withNameServers
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
Get the statuses property: The set of status flags for this whois record.- Returns:
- the statuses value.
-
withStatuses
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.
-