Class DeletedVaultInner
java.lang.Object
com.azure.resourcemanager.keyvault.fluent.models.DeletedVaultInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DeletedVaultInner>
public final class DeletedVaultInner
extends Object
implements com.azure.json.JsonSerializable<DeletedVaultInner>
Deleted vault information with extended details.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DeletedVaultInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DeletedVaultInner from the JsonReader.id()Get the id property: The resource ID for the deleted key vault.name()Get the name property: The name of the key vault.Get the properties property: Properties of the vault.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The resource type of the key vault.voidvalidate()Validates the instance.withProperties(DeletedVaultProperties properties) Set the properties property: Properties of the 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
-
DeletedVaultInner
public DeletedVaultInner()Creates an instance of DeletedVaultInner class.
-
-
Method Details
-
id
Get the id property: The resource ID for the deleted key vault.- Returns:
- the id value.
-
name
Get the name property: The name of the key vault.- Returns:
- the name value.
-
type
Get the type property: The resource type of the key vault.- Returns:
- the type value.
-
properties
Get the properties property: Properties of the vault.- Returns:
- the properties value.
-
withProperties
Set the properties property: Properties of the vault.- Parameters:
properties- the properties value to set.- Returns:
- the DeletedVaultInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<DeletedVaultInner>- Throws:
IOException
-
fromJson
Reads an instance of DeletedVaultInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DeletedVaultInner 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 DeletedVaultInner.
-