CertificateOrderContact Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.CertificateOrderContact

Implements

public final class CertificateOrderContact
implements JsonSerializable<CertificateOrderContact>

The CertificateOrderContact model.

Constructor Summary

Constructor Description
CertificateOrderContact()

Creates an instance of CertificateOrderContact class.

Method Summary

Modifier and Type Method and Description
String email()

Get the email property: The email property.

static CertificateOrderContact fromJson(JsonReader jsonReader)

Reads an instance of CertificateOrderContact from the JsonReader.

String nameFirst()

Get the nameFirst property: The nameFirst property.

String nameLast()

Get the nameLast property: The nameLast property.

String phone()

Get the phone property: The phone property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CertificateOrderContact withEmail(String email)

Set the email property: The email property.

CertificateOrderContact withNameFirst(String nameFirst)

Set the nameFirst property: The nameFirst property.

CertificateOrderContact withNameLast(String nameLast)

Set the nameLast property: The nameLast property.

CertificateOrderContact 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

email

public String email()

Get the email property: The email property.

Returns:

the email value.

fromJson

public static CertificateOrderContact fromJson(JsonReader jsonReader)

Reads an instance of CertificateOrderContact from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CertificateOrderContact if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the CertificateOrderContact.

nameFirst

public String nameFirst()

Get the nameFirst property: The nameFirst property.

Returns:

the nameFirst value.

nameLast

public String nameLast()

Get the nameLast property: The nameLast property.

Returns:

the nameLast value.

phone

public String phone()

Get the phone property: The phone property.

Returns:

the phone value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

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.

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.

Applies to