Class DeletedVaultProperties
java.lang.Object
com.azure.resourcemanager.keyvault.models.DeletedVaultProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DeletedVaultProperties>
public final class DeletedVaultProperties
extends Object
implements com.azure.json.JsonSerializable<DeletedVaultProperties>
Properties of the deleted vault.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DeletedVaultProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the deletionDate property: The deleted date.static DeletedVaultPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DeletedVaultProperties from the JsonReader.location()Get the location property: The location of the original vault.Get the purgeProtectionEnabled property: Purge protection status of the original vault.Get the scheduledPurgeDate property: The scheduled purged date.tags()Get the tags property: Tags of the original vault.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.vaultId()Get the vaultId property: The resource id of the original vault.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DeletedVaultProperties
public DeletedVaultProperties()Creates an instance of DeletedVaultProperties class.
-
-
Method Details
-
vaultId
Get the vaultId property: The resource id of the original vault.- Returns:
- the vaultId value.
-
location
Get the location property: The location of the original vault.- Returns:
- the location value.
-
deletionDate
Get the deletionDate property: The deleted date.- Returns:
- the deletionDate value.
-
scheduledPurgeDate
Get the scheduledPurgeDate property: The scheduled purged date.- Returns:
- the scheduledPurgeDate value.
-
tags
Get the tags property: Tags of the original vault.- Returns:
- the tags value.
-
purgeProtectionEnabled
Get the purgeProtectionEnabled property: Purge protection status of the original vault.- Returns:
- the purgeProtectionEnabled value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<DeletedVaultProperties>- Throws:
IOException
-
fromJson
public static DeletedVaultProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DeletedVaultProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DeletedVaultProperties 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 DeletedVaultProperties.
-