CertificateOrderContact Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. CertificateOrderContact
- com.
Implements
public final class CertificateOrderContact
implements JsonSerializable<CertificateOrderContact>
The CertificateOrderContact model.
Constructor Summary
Constructor | Description |
---|---|
CertificateOrderContact() |
Creates an instance of Certificate |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
email()
Get the email property: The email property. |
static
Certificate |
fromJson(JsonReader jsonReader)
Reads an instance of Certificate |
String |
nameFirst()
Get the name |
String |
nameLast()
Get the name |
String |
phone()
Get the phone property: The phone property. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Certificate |
withEmail(String email)
Set the email property: The email property. |
Certificate |
withNameFirst(String nameFirst)
Set the name |
Certificate |
withNameLast(String nameLast)
Set the name |
Certificate |
withPhone(String phone)
Set the phone property: The phone property. |
Methods inherited from java.lang.Object
Constructor Details
CertificateOrderContact
public CertificateOrderContact()
Creates an instance of CertificateOrderContact class.
Method Details
public String email()
Get the email property: The email property.
Returns:
fromJson
public static CertificateOrderContact fromJson(JsonReader jsonReader)
Reads an instance of CertificateOrderContact from the JsonReader.
Parameters:
Returns:
Throws:
nameFirst
public String nameFirst()
Get the nameFirst property: The nameFirst property.
Returns:
nameLast
public String nameLast()
Get the nameLast property: The nameLast property.
Returns:
phone
public String phone()
Get the phone property: The phone property.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEmail
public CertificateOrderContact withEmail(String email)
Set the email property: The email property.
Parameters:
Returns:
withNameFirst
public CertificateOrderContact withNameFirst(String nameFirst)
Set the nameFirst property: The nameFirst property.
Parameters:
Returns:
withNameLast
public CertificateOrderContact withNameLast(String nameLast)
Set the nameLast property: The nameLast property.
Parameters:
Returns:
withPhone
public CertificateOrderContact withPhone(String phone)
Set the phone property: The phone property.
Parameters:
Returns:
Applies to
Azure SDK for Java