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 Details

    • CertificateEmailInner

      public CertificateEmailInner()
      Creates an instance of CertificateEmailInner class.
  • Method Details

    • emailId

      public String emailId()
      Get the emailId property: Email id.
      Returns:
      the emailId value.
    • withEmailId

      public CertificateEmailInner withEmailId(String emailId)
      Set the emailId property: Email id.
      Parameters:
      emailId - the emailId value to set.
      Returns:
      the CertificateEmailInner object itself.
    • timestamp

      public OffsetDateTime timestamp()
      Get the timestamp property: Time stamp.
      Returns:
      the timestamp value.
    • withTimestamp

      public CertificateEmailInner withTimestamp(OffsetDateTime timestamp)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.