Class Contact
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.Contact
-
public final class Contact extends Object
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
Constructors Constructor Description Contact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddressaddressMailing()Get the addressMailing property: Mailing address.Stringemail()Get the email property: Email address.Stringfax()Get the fax property: Fax number.StringjobTitle()Get the jobTitle property: Job title.StringnameFirst()Get the nameFirst property: First name.StringnameLast()Get the nameLast property: Last name.StringnameMiddle()Get the nameMiddle property: Middle name.Stringorganization()Get the organization property: Organization contact belongs to.Stringphone()Get the phone property: Phone number.voidvalidate()Validates the instance.ContactwithAddressMailing(Address addressMailing)Set the addressMailing property: Mailing address.ContactwithEmail(String email)Set the email property: Email address.ContactwithFax(String fax)Set the fax property: Fax number.ContactwithJobTitle(String jobTitle)Set the jobTitle property: Job title.ContactwithNameFirst(String nameFirst)Set the nameFirst property: First name.ContactwithNameLast(String nameLast)Set the nameLast property: Last name.ContactwithNameMiddle(String nameMiddle)Set the nameMiddle property: Middle name.ContactwithOrganization(String organization)Set the organization property: Organization contact belongs to.ContactwithPhone(String phone)Set the phone property: Phone number.
-
-
-
Method Detail
-
addressMailing
public Address addressMailing()
Get the addressMailing property: Mailing address.- Returns:
- the addressMailing value.
-
withAddressMailing
public Contact withAddressMailing(Address addressMailing)
Set the addressMailing property: Mailing address.- Parameters:
addressMailing- the addressMailing value to set.- Returns:
- the Contact object itself.
-
email
public String email()
Get the email property: Email address.- Returns:
- the email value.
-
withEmail
public Contact withEmail(String email)
Set the email property: Email address.- Parameters:
email- the email value to set.- Returns:
- the Contact object itself.
-
fax
public String fax()
Get the fax property: Fax number.- Returns:
- the fax value.
-
withFax
public Contact withFax(String fax)
Set the fax property: Fax number.- Parameters:
fax- the fax value to set.- Returns:
- the Contact object itself.
-
jobTitle
public String jobTitle()
Get the jobTitle property: Job title.- Returns:
- the jobTitle value.
-
withJobTitle
public Contact withJobTitle(String jobTitle)
Set the jobTitle property: Job title.- Parameters:
jobTitle- the jobTitle value to set.- Returns:
- the Contact object itself.
-
nameFirst
public String nameFirst()
Get the nameFirst property: First name.- Returns:
- the nameFirst value.
-
withNameFirst
public Contact withNameFirst(String nameFirst)
Set the nameFirst property: First name.- Parameters:
nameFirst- the nameFirst value to set.- Returns:
- the Contact object itself.
-
nameLast
public String nameLast()
Get the nameLast property: Last name.- Returns:
- the nameLast value.
-
withNameLast
public Contact withNameLast(String nameLast)
Set the nameLast property: Last name.- Parameters:
nameLast- the nameLast value to set.- Returns:
- the Contact object itself.
-
nameMiddle
public String nameMiddle()
Get the nameMiddle property: Middle name.- Returns:
- the nameMiddle value.
-
withNameMiddle
public Contact withNameMiddle(String nameMiddle)
Set the nameMiddle property: Middle name.- Parameters:
nameMiddle- the nameMiddle value to set.- Returns:
- the Contact object itself.
-
organization
public String organization()
Get the organization property: Organization contact belongs to.- Returns:
- the organization value.
-
withOrganization
public Contact withOrganization(String organization)
Set the organization property: Organization contact belongs to.- Parameters:
organization- the organization value to set.- Returns:
- the Contact object itself.
-
phone
public String phone()
Get the phone property: Phone number.- Returns:
- the phone value.
-
withPhone
public Contact withPhone(String phone)
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.
-
-