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 Summary
Constructors Constructor Description EnrichmentDomainWhoisDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnrichmentDomainWhoisContacts
contacts()
Get the contacts property: The set of contacts associated with this domain.List<String>
nameServers()
Get the nameServers property: A list of name servers associated with this domain.EnrichmentDomainWhoisRegistrarDetails
registrar()
Get the registrar property: The registrar associated with this domain.List<String>
statuses()
Get the statuses property: The set of status flags for this whois record.void
validate()
Validates the instance.EnrichmentDomainWhoisDetails
withContacts(EnrichmentDomainWhoisContacts contacts)
Set the contacts property: The set of contacts associated with this domain.EnrichmentDomainWhoisDetails
withNameServers(List<String> nameServers)
Set the nameServers property: A list of name servers associated with this domain.EnrichmentDomainWhoisDetails
withRegistrar(EnrichmentDomainWhoisRegistrarDetails registrar)
Set the registrar property: The registrar associated with this domain.EnrichmentDomainWhoisDetails
withStatuses(List<String> statuses)
Set the statuses property: The set of status flags for this whois record.
-
-
-
Method Detail
-
registrar
public EnrichmentDomainWhoisRegistrarDetails registrar()
Get the registrar property: The registrar associated with this domain.- Returns:
- the registrar value.
-
withRegistrar
public EnrichmentDomainWhoisDetails withRegistrar(EnrichmentDomainWhoisRegistrarDetails registrar)
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
public EnrichmentDomainWhoisDetails withContacts(EnrichmentDomainWhoisContacts contacts)
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.
-
-