Class IssuerProperties

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

public class IssuerProperties extends Object implements com.azure.json.JsonSerializable<IssuerProperties>
Represents base properties of an CertificateIssuer.
  • Constructor Details

    • IssuerProperties

      public IssuerProperties()
      Creates an instance of IssuerProperties.
  • Method Details

    • getId

      public String getId()
      Get the id of the issuer.
      Returns:
      the identifier.
    • getProvider

      public String getProvider()
      Get the issuer provider
      Returns:
      the issuer provider
    • getName

      public String getName()
      Get the issuer name
      Returns:
      the issuer name
    • setProvider

      public IssuerProperties setProvider(String provider)
      Set the issuer provider
      Parameters:
      provider - The issuer provider.
      Returns:
      the updated IssuerProperties object
    • toJson

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

      public static IssuerProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads a JSON stream into a IssuerProperties.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      The IssuerProperties that the JSON stream represented, may return null.
      Throws:
      IOException - If a IssuerProperties fails to be read from the jsonReader.