Class CertificateContact

java.lang.Object
com.azure.security.keyvault.certificates.models.CertificateContact
All Implemented Interfaces:
com.azure.json.JsonSerializable<CertificateContact>

public final class CertificateContact extends Object implements com.azure.json.JsonSerializable<CertificateContact>
The contact information for the vault certificates.
  • Constructor Details

    • CertificateContact

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

    • getEmail

      public String getEmail()
      Get the email property: Email address.
      Returns:
      the email value.
    • setEmail

      public CertificateContact setEmail(String email)
      Set the email property: Email address.
      Parameters:
      email - the email value to set.
      Returns:
      the CertificateContact object itself.
    • getName

      public String getName()
      Get the name property: Name.
      Returns:
      the name value.
    • setName

      public CertificateContact setName(String name)
      Set the name property: Name.
      Parameters:
      name - the name value to set.
      Returns:
      the CertificateContact object itself.
    • getPhone

      public String getPhone()
      Get the phone property: Phone number.
      Returns:
      the phone value.
    • setPhone

      public CertificateContact setPhone(String phone)
      Set the phone property: Phone number.
      Parameters:
      phone - the phone value to set.
      Returns:
      the CertificateContact object itself.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<CertificateContact>
      Throws:
      IOException
    • fromJson

      public static CertificateContact fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of CertificateContact from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of CertificateContact 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 CertificateContact.