Поделиться через


CustomerContact Class

  • java.lang.Object
    • com.azure.resourcemanager.oracledatabase.models.CustomerContact

Implements

public final class CustomerContact
implements JsonSerializable<CustomerContact>

CustomerContact resource properties.

Constructor Summary

Constructor Description
CustomerContact()

Creates an instance of CustomerContact class.

Method Summary

Modifier and Type Method and Description
String email()

Get the email property: The email address used by Oracle to send notifications regarding databases and infrastructure.

static CustomerContact fromJson(JsonReader jsonReader)

Reads an instance of CustomerContact from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CustomerContact withEmail(String email)

Set the email property: The email address used by Oracle to send notifications regarding databases and infrastructure.

Methods inherited from java.lang.Object

Constructor Details

CustomerContact

public CustomerContact()

Creates an instance of CustomerContact class.

Method Details

email

public String email()

Get the email property: The email address used by Oracle to send notifications regarding databases and infrastructure.

Returns:

the email value.

fromJson

public static CustomerContact fromJson(JsonReader jsonReader)

Reads an instance of CustomerContact from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEmail

public CustomerContact withEmail(String email)

Set the email property: The email address used by Oracle to send notifications regarding databases and infrastructure.

Parameters:

email - the email value to set.

Returns:

the CustomerContact object itself.

Applies to