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 Details

    • DeletedVaultInner

      public DeletedVaultInner()
      Creates an instance of DeletedVaultInner class.
  • Method Details

    • id

      public String id()
      Get the id property: The resource ID for the deleted key vault.
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: The name of the key vault.
      Returns:
      the name value.
    • type

      public String type()
      Get the type property: The resource type of the key vault.
      Returns:
      the type value.
    • properties

      public DeletedVaultProperties properties()
      Get the properties property: Properties of the vault.
      Returns:
      the properties value.
    • withProperties

      public DeletedVaultInner withProperties(DeletedVaultProperties properties)
      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

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

      public static DeletedVaultInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.