Class CertificateEmailInner
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.CertificateEmailInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CertificateEmailInner>
public final class CertificateEmailInner
extends Object
implements com.azure.json.JsonSerializable<CertificateEmailInner>
SSL certificate email.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionemailId()
Get the emailId property: Email id.static CertificateEmailInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of CertificateEmailInner from the JsonReader.Get the timestamp property: Time stamp.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withEmailId
(String emailId) Set the emailId property: Email id.withTimestamp
(OffsetDateTime timestamp) Set the timestamp property: Time stamp.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
CertificateEmailInner
public CertificateEmailInner()Creates an instance of CertificateEmailInner class.
-
-
Method Details
-
emailId
Get the emailId property: Email id.- Returns:
- the emailId value.
-
withEmailId
Set the emailId property: Email id.- Parameters:
emailId
- the emailId value to set.- Returns:
- the CertificateEmailInner object itself.
-
timestamp
Get the timestamp property: Time stamp.- Returns:
- the timestamp value.
-
withTimestamp
Set the timestamp property: Time stamp.- Parameters:
timestamp
- the timestamp value to set.- Returns:
- the CertificateEmailInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<CertificateEmailInner>
- Throws:
IOException
-
fromJson
public static CertificateEmailInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of CertificateEmailInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of CertificateEmailInner 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 CertificateEmailInner.
-