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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IssuerProperties
fromJson
(com.azure.json.JsonReader jsonReader) Reads a JSON stream into aIssuerProperties
.getId()
Get the id of the issuer.getName()
Get the issuer nameGet the issuer providersetProvider
(String provider) Set the issuer providercom.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) 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
-
IssuerProperties
public IssuerProperties()Creates an instance ofIssuerProperties
.
-
-
Method Details
-
getId
Get the id of the issuer.- Returns:
- the identifier.
-
getProvider
Get the issuer provider- Returns:
- the issuer provider
-
getName
Get the issuer name- Returns:
- the issuer name
-
setProvider
Set the issuer provider- Parameters:
provider
- The issuer provider.- Returns:
- the updated IssuerProperties object
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<IssuerProperties>
- Throws:
IOException
-
fromJson
Reads a JSON stream into aIssuerProperties
.- Parameters:
jsonReader
- TheJsonReader
being read.- Returns:
- The
IssuerProperties
that the JSON stream represented, may return null. - Throws:
IOException
- If aIssuerProperties
fails to be read from thejsonReader
.
-