Class EnrichmentDomainWhoisRegistrarDetails
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.EnrichmentDomainWhoisRegistrarDetails
-
public final class EnrichmentDomainWhoisRegistrarDetails extends Object
The registrar associated with this domain.
-
-
Constructor Summary
Constructors Constructor Description EnrichmentDomainWhoisRegistrarDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
abuseContactEmail()
Get the abuseContactEmail property: This registrar's abuse contact email.String
abuseContactPhone()
Get the abuseContactPhone property: This registrar's abuse contact phone number.String
ianaId()
Get the ianaId property: This registrar's Internet Assigned Numbers Authority id.String
name()
Get the name property: The name of this registrar.String
url()
Get the url property: This registrar's URL.void
validate()
Validates the instance.String
whoisServer()
Get the whoisServer property: The hostname of this registrar's whois server.EnrichmentDomainWhoisRegistrarDetails
withAbuseContactEmail(String abuseContactEmail)
Set the abuseContactEmail property: This registrar's abuse contact email.EnrichmentDomainWhoisRegistrarDetails
withAbuseContactPhone(String abuseContactPhone)
Set the abuseContactPhone property: This registrar's abuse contact phone number.EnrichmentDomainWhoisRegistrarDetails
withIanaId(String ianaId)
Set the ianaId property: This registrar's Internet Assigned Numbers Authority id.EnrichmentDomainWhoisRegistrarDetails
withName(String name)
Set the name property: The name of this registrar.EnrichmentDomainWhoisRegistrarDetails
withUrl(String url)
Set the url property: This registrar's URL.EnrichmentDomainWhoisRegistrarDetails
withWhoisServer(String whoisServer)
Set the whoisServer property: The hostname of this registrar's whois server.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of this registrar.- Returns:
- the name value.
-
withName
public EnrichmentDomainWhoisRegistrarDetails withName(String name)
Set the name property: The name of this registrar.- Parameters:
name
- the name value to set.- Returns:
- the EnrichmentDomainWhoisRegistrarDetails object itself.
-
abuseContactEmail
public String abuseContactEmail()
Get the abuseContactEmail property: This registrar's abuse contact email.- Returns:
- the abuseContactEmail value.
-
withAbuseContactEmail
public EnrichmentDomainWhoisRegistrarDetails withAbuseContactEmail(String abuseContactEmail)
Set the abuseContactEmail property: This registrar's abuse contact email.- Parameters:
abuseContactEmail
- the abuseContactEmail value to set.- Returns:
- the EnrichmentDomainWhoisRegistrarDetails object itself.
-
abuseContactPhone
public String abuseContactPhone()
Get the abuseContactPhone property: This registrar's abuse contact phone number.- Returns:
- the abuseContactPhone value.
-
withAbuseContactPhone
public EnrichmentDomainWhoisRegistrarDetails withAbuseContactPhone(String abuseContactPhone)
Set the abuseContactPhone property: This registrar's abuse contact phone number.- Parameters:
abuseContactPhone
- the abuseContactPhone value to set.- Returns:
- the EnrichmentDomainWhoisRegistrarDetails object itself.
-
ianaId
public String ianaId()
Get the ianaId property: This registrar's Internet Assigned Numbers Authority id.- Returns:
- the ianaId value.
-
withIanaId
public EnrichmentDomainWhoisRegistrarDetails withIanaId(String ianaId)
Set the ianaId property: This registrar's Internet Assigned Numbers Authority id.- Parameters:
ianaId
- the ianaId value to set.- Returns:
- the EnrichmentDomainWhoisRegistrarDetails object itself.
-
url
public String url()
Get the url property: This registrar's URL.- Returns:
- the url value.
-
withUrl
public EnrichmentDomainWhoisRegistrarDetails withUrl(String url)
Set the url property: This registrar's URL.- Parameters:
url
- the url value to set.- Returns:
- the EnrichmentDomainWhoisRegistrarDetails object itself.
-
whoisServer
public String whoisServer()
Get the whoisServer property: The hostname of this registrar's whois server.- Returns:
- the whoisServer value.
-
withWhoisServer
public EnrichmentDomainWhoisRegistrarDetails withWhoisServer(String whoisServer)
Set the whoisServer property: The hostname of this registrar's whois server.- Parameters:
whoisServer
- the whoisServer value to set.- Returns:
- the EnrichmentDomainWhoisRegistrarDetails object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-