Class DeletedCertificate
java.lang.Object
com.azure.security.keyvault.certificates.models.KeyVaultCertificate
com.azure.security.keyvault.certificates.models.KeyVaultCertificateWithPolicy
com.azure.security.keyvault.certificates.models.DeletedCertificate
- All Implemented Interfaces:
com.azure.json.JsonSerializable<KeyVaultCertificate>
Deleted Certificate is the resource consisting of name, recovery id, deleted date, scheduled purge date and its
attributes inherited from
KeyVaultCertificate
.
It is managed by Certificate Service.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DeletedCertificate
fromJson
(com.azure.json.JsonReader jsonReader) Reads a JSON stream into aDeletedCertificate
.Get the deleted UTC time.Get the recoveryId identifier.Get the scheduled purge UTC time.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Methods inherited from class com.azure.security.keyvault.certificates.models.KeyVaultCertificateWithPolicy
getPolicy, setPolicy, setProperties
Methods inherited from class com.azure.security.keyvault.certificates.models.KeyVaultCertificate
getCer, getId, getKeyId, getName, getProperties, getSecretId, isCertificateOrderPreserved
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
-
DeletedCertificate
public DeletedCertificate()Creates an instance ofDeletedCertificate
.
-
-
Method Details
-
getRecoveryId
Get the recoveryId identifier.- Returns:
- the recoveryId identifier.
-
getScheduledPurgeDate
Get the scheduled purge UTC time.- Returns:
- the scheduledPurgeDate UTC time.
-
getDeletedOn
Get the deleted UTC time.- Returns:
- the deletedDate UTC time.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<KeyVaultCertificate>
- Overrides:
toJson
in classKeyVaultCertificateWithPolicy
- Throws:
IOException
-
fromJson
Reads a JSON stream into aDeletedCertificate
.- Parameters:
jsonReader
- TheJsonReader
being read.- Returns:
- The
DeletedCertificate
that the JSON stream represented, may return null. - Throws:
IOException
- If aDeletedCertificate
fails to be read from thejsonReader
.
-