Class EnrichmentDomainWhoisContact
java.lang.Object
com.azure.resourcemanager.securityinsights.models.EnrichmentDomainWhoisContact
An individual contact associated with this domain.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncity()
Get the city property: The city for this contact.country()
Get the country property: The country for this contact.email()
Get the email property: The email address for this contact.fax()
Get the fax property: The fax number for this contact.name()
Get the name property: The name of this contact.org()
Get the org property: The organization for this contact.phone()
Get the phone property: The phone number for this contact.postal()
Get the postal property: The postal code for this contact.state()
Get the state property: The state for this contact.street()
Get the street property: A list describing the street address for this contact.void
validate()
Validates the instance.Set the city property: The city for this contact.withCountry
(String country) Set the country property: The country for this contact.Set the email property: The email address for this contact.Set the fax property: The fax number for this contact.Set the name property: The name of this contact.Set the org property: The organization for this contact.Set the phone property: The phone number for this contact.withPostal
(String postal) Set the postal property: The postal code for this contact.Set the state property: The state for this contact.withStreet
(List<String> street) Set the street property: A list describing the street address for this contact.
-
Constructor Details
-
EnrichmentDomainWhoisContact
public EnrichmentDomainWhoisContact()
-
-
Method Details
-
name
Get the name property: The name of this contact.- Returns:
- the name value.
-
withName
Set the name property: The name of this contact.- Parameters:
name
- the name value to set.- Returns:
- the EnrichmentDomainWhoisContact object itself.
-
org
Get the org property: The organization for this contact.- Returns:
- the org value.
-
withOrg
Set the org property: The organization for this contact.- Parameters:
org
- the org value to set.- Returns:
- the EnrichmentDomainWhoisContact object itself.
-
street
Get the street property: A list describing the street address for this contact.- Returns:
- the street value.
-
withStreet
Set the street property: A list describing the street address for this contact.- Parameters:
street
- the street value to set.- Returns:
- the EnrichmentDomainWhoisContact object itself.
-
city
Get the city property: The city for this contact.- Returns:
- the city value.
-
withCity
Set the city property: The city for this contact.- Parameters:
city
- the city value to set.- Returns:
- the EnrichmentDomainWhoisContact object itself.
-
state
Get the state property: The state for this contact.- Returns:
- the state value.
-
withState
Set the state property: The state for this contact.- Parameters:
state
- the state value to set.- Returns:
- the EnrichmentDomainWhoisContact object itself.
-
postal
Get the postal property: The postal code for this contact.- Returns:
- the postal value.
-
withPostal
Set the postal property: The postal code for this contact.- Parameters:
postal
- the postal value to set.- Returns:
- the EnrichmentDomainWhoisContact object itself.
-
country
Get the country property: The country for this contact.- Returns:
- the country value.
-
withCountry
Set the country property: The country for this contact.- Parameters:
country
- the country value to set.- Returns:
- the EnrichmentDomainWhoisContact object itself.
-
phone
Get the phone property: The phone number for this contact.- Returns:
- the phone value.
-
withPhone
Set the phone property: The phone number for this contact.- Parameters:
phone
- the phone value to set.- Returns:
- the EnrichmentDomainWhoisContact object itself.
-
fax
Get the fax property: The fax number for this contact.- Returns:
- the fax value.
-
withFax
Set the fax property: The fax number for this contact.- Parameters:
fax
- the fax value to set.- Returns:
- the EnrichmentDomainWhoisContact object itself.
-
email
Get the email property: The email address for this contact.- Returns:
- the email value.
-
withEmail
Set the email property: The email address for this contact.- Parameters:
email
- the email value to set.- Returns:
- the EnrichmentDomainWhoisContact object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-