Partager via


DeletedVaultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.keyvault.fluent.models.DeletedVaultInner

Implements

public final class DeletedVaultInner
implements JsonSerializable<DeletedVaultInner>

Deleted vault information with extended details.

Constructor Summary

Constructor Description
DeletedVaultInner()

Creates an instance of DeletedVaultInner class.

Method Summary

Modifier and Type Method and Description
static DeletedVaultInner fromJson(JsonReader jsonReader)

Reads an instance of DeletedVaultInner from the JsonReader.

String id()

Get the id property: The resource ID for the deleted key vault.

String name()

Get the name property: The name of the key vault.

DeletedVaultProperties properties()

Get the properties property: Properties of the vault.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The resource type of the key vault.

void validate()

Validates the instance.

DeletedVaultInner withProperties(DeletedVaultProperties properties)

Set the properties property: Properties of the vault.

Methods inherited from java.lang.Object

Constructor Details

DeletedVaultInner

public DeletedVaultInner()

Creates an instance of DeletedVaultInner class.

Method Details

fromJson

public static DeletedVaultInner fromJson(JsonReader jsonReader)

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.

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.

properties

public DeletedVaultProperties properties()

Get the properties property: Properties of the vault.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The resource type of the key vault.

Returns:

the type value.

validate

public void validate()

Validates the instance.

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.

Applies to