DeletedManagedHsmProperties Class

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

Implements

public final class DeletedManagedHsmProperties
implements JsonSerializable<DeletedManagedHsmProperties>

Properties of the deleted managed HSM.

Constructor Summary

Constructor Description
DeletedManagedHsmProperties()

Creates an instance of DeletedManagedHsmProperties class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime deletionDate()

Get the deletionDate property: The deleted date.

static DeletedManagedHsmProperties fromJson(JsonReader jsonReader)

Reads an instance of DeletedManagedHsmProperties from the JsonReader.

String location()

Get the location property: The location of the original managed HSM.

String mhsmId()

Get the mhsmId property: The resource id of the original managed HSM.

Boolean purgeProtectionEnabled()

Get the purgeProtectionEnabled property: Purge protection status of the original managed HSM.

OffsetDateTime scheduledPurgeDate()

Get the scheduledPurgeDate property: The scheduled purged date.

Map<String,String> tags()

Get the tags property: Tags of the original managed HSM.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

DeletedManagedHsmProperties

public DeletedManagedHsmProperties()

Creates an instance of DeletedManagedHsmProperties class.

Method Details

deletionDate

public OffsetDateTime deletionDate()

Get the deletionDate property: The deleted date.

Returns:

the deletionDate value.

fromJson

public static DeletedManagedHsmProperties fromJson(JsonReader jsonReader)

Reads an instance of DeletedManagedHsmProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DeletedManagedHsmProperties 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 DeletedManagedHsmProperties.

location

public String location()

Get the location property: The location of the original managed HSM.

Returns:

the location value.

mhsmId

public String mhsmId()

Get the mhsmId property: The resource id of the original managed HSM.

Returns:

the mhsmId value.

purgeProtectionEnabled

public Boolean purgeProtectionEnabled()

Get the purgeProtectionEnabled property: Purge protection status of the original managed HSM.

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 managed HSM.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to