Class Contact
java.lang.Object
com.azure.resourcemanager.appservice.models.Contact
Contact information for domain registration. If 'Domain Privacy' option is not selected then the contact information
is made publicly available through the Whois directories as per ICANN requirements.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the addressMailing property: Mailing address.email()
Get the email property: Email address.fax()
Get the fax property: Fax number.jobTitle()
Get the jobTitle property: Job title.Get the nameFirst property: First name.nameLast()
Get the nameLast property: Last name.Get the nameMiddle property: Middle name.Get the organization property: Organization contact belongs to.phone()
Get the phone property: Phone number.void
validate()
Validates the instance.withAddressMailing
(Address addressMailing) Set the addressMailing property: Mailing address.Set the email property: Email address.Set the fax property: Fax number.withJobTitle
(String jobTitle) Set the jobTitle property: Job title.withNameFirst
(String nameFirst) Set the nameFirst property: First name.withNameLast
(String nameLast) Set the nameLast property: Last name.withNameMiddle
(String nameMiddle) Set the nameMiddle property: Middle name.withOrganization
(String organization) Set the organization property: Organization contact belongs to.Set the phone property: Phone number.
-
Constructor Details
-
Contact
public Contact()
-
-
Method Details
-
addressMailing
Get the addressMailing property: Mailing address.- Returns:
- the addressMailing value.
-
withAddressMailing
Set the addressMailing property: Mailing address.- Parameters:
addressMailing
- the addressMailing value to set.- Returns:
- the Contact object itself.
-
email
Get the email property: Email address.- Returns:
- the email value.
-
withEmail
Set the email property: Email address.- Parameters:
email
- the email value to set.- Returns:
- the Contact object itself.
-
fax
Get the fax property: Fax number.- Returns:
- the fax value.
-
withFax
Set the fax property: Fax number.- Parameters:
fax
- the fax value to set.- Returns:
- the Contact object itself.
-
jobTitle
Get the jobTitle property: Job title.- Returns:
- the jobTitle value.
-
withJobTitle
Set the jobTitle property: Job title.- Parameters:
jobTitle
- the jobTitle value to set.- Returns:
- the Contact object itself.
-
nameFirst
Get the nameFirst property: First name.- Returns:
- the nameFirst value.
-
withNameFirst
Set the nameFirst property: First name.- Parameters:
nameFirst
- the nameFirst value to set.- Returns:
- the Contact object itself.
-
nameLast
Get the nameLast property: Last name.- Returns:
- the nameLast value.
-
withNameLast
Set the nameLast property: Last name.- Parameters:
nameLast
- the nameLast value to set.- Returns:
- the Contact object itself.
-
nameMiddle
Get the nameMiddle property: Middle name.- Returns:
- the nameMiddle value.
-
withNameMiddle
Set the nameMiddle property: Middle name.- Parameters:
nameMiddle
- the nameMiddle value to set.- Returns:
- the Contact object itself.
-
organization
Get the organization property: Organization contact belongs to.- Returns:
- the organization value.
-
withOrganization
Set the organization property: Organization contact belongs to.- Parameters:
organization
- the organization value to set.- Returns:
- the Contact object itself.
-
phone
Get the phone property: Phone number.- Returns:
- the phone value.
-
withPhone
Set the phone property: Phone number.- Parameters:
phone
- the phone value to set.- Returns:
- the Contact object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-