Partager via


DeletedVaultProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.keyvault.models.DeletedVaultProperties

Implements

public final class DeletedVaultProperties
implements JsonSerializable<DeletedVaultProperties>

Properties of the deleted vault.

Constructor Summary

Constructor Description
DeletedVaultProperties()

Creates an instance of DeletedVaultProperties class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime deletionDate()

Get the deletionDate property: The deleted date.

static DeletedVaultProperties fromJson(JsonReader jsonReader)

Reads an instance of DeletedVaultProperties from the JsonReader.

String location()

Get the location property: The location of the original vault.

Boolean purgeProtectionEnabled()

Get the purgeProtectionEnabled property: Purge protection status of the original vault.

OffsetDateTime scheduledPurgeDate()

Get the scheduledPurgeDate property: The scheduled purged date.

Map<String,String> tags()

Get the tags property: Tags of the original vault.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String vaultId()

Get the vaultId property: The resource id of the original vault.

Methods inherited from java.lang.Object

Constructor Details

DeletedVaultProperties

public DeletedVaultProperties()

Creates an instance of DeletedVaultProperties class.

Method Details

deletionDate

public OffsetDateTime deletionDate()

Get the deletionDate property: The deleted date.

Returns:

the deletionDate value.

fromJson

public static DeletedVaultProperties fromJson(JsonReader jsonReader)

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.

location

public String location()

Get the location property: The location of the original vault.

Returns:

the location value.

purgeProtectionEnabled

public Boolean purgeProtectionEnabled()

Get the purgeProtectionEnabled property: Purge protection status of the original vault.

Returns:

the purgeProtectionEnabled value.

scheduledPurgeDate

public OffsetDateTime scheduledPurgeDate()

Get the scheduledPurgeDate property: The scheduled purged date.

Returns:

the scheduledPurgeDate value.

tags

public Map tags()

Get the tags property: Tags of the original vault.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

vaultId

public String vaultId()

Get the vaultId property: The resource id of the original vault.

Returns:

the vaultId value.

Applies to