Class CertificateOrderContact
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.CertificateOrderContact
-
public final class CertificateOrderContact extends Object
The CertificateOrderContact model.
-
-
Constructor Summary
Constructors Constructor Description CertificateOrderContact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringemail()Get the email property: The email property.StringnameFirst()Get the nameFirst property: The nameFirst property.StringnameLast()Get the nameLast property: The nameLast property.Stringphone()Get the phone property: The phone property.voidvalidate()Validates the instance.CertificateOrderContactwithEmail(String email)Set the email property: The email property.CertificateOrderContactwithNameFirst(String nameFirst)Set the nameFirst property: The nameFirst property.CertificateOrderContactwithNameLast(String nameLast)Set the nameLast property: The nameLast property.CertificateOrderContactwithPhone(String phone)Set the phone property: The phone property.
-
-
-
Method Detail
-
email
public String email()
Get the email property: The email property.- Returns:
- the email value.
-
withEmail
public CertificateOrderContact withEmail(String email)
Set the email property: The email property.- Parameters:
email- the email value to set.- Returns:
- the CertificateOrderContact object itself.
-
nameFirst
public String nameFirst()
Get the nameFirst property: The nameFirst property.- Returns:
- the nameFirst value.
-
withNameFirst
public CertificateOrderContact withNameFirst(String nameFirst)
Set the nameFirst property: The nameFirst property.- Parameters:
nameFirst- the nameFirst value to set.- Returns:
- the CertificateOrderContact object itself.
-
nameLast
public String nameLast()
Get the nameLast property: The nameLast property.- Returns:
- the nameLast value.
-
withNameLast
public CertificateOrderContact withNameLast(String nameLast)
Set the nameLast property: The nameLast property.- Parameters:
nameLast- the nameLast value to set.- Returns:
- the CertificateOrderContact object itself.
-
phone
public String phone()
Get the phone property: The phone property.- Returns:
- the phone value.
-
withPhone
public CertificateOrderContact withPhone(String phone)
Set the phone property: The phone property.- Parameters:
phone- the phone value to set.- Returns:
- the CertificateOrderContact object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-