DeletedManagedHsmInner Class

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

Implements

public final class DeletedManagedHsmInner
implements JsonSerializable<DeletedManagedHsmInner>

The DeletedManagedHsm model.

Constructor Summary

Constructor Description
DeletedManagedHsmInner()

Creates an instance of DeletedManagedHsmInner class.

Method Summary

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

Reads an instance of DeletedManagedHsmInner from the JsonReader.

String id()

Get the id property: The Azure Resource Manager resource ID for the deleted managed HSM Pool.

String name()

Get the name property: The name of the managed HSM Pool.

DeletedManagedHsmProperties properties()

Get the properties property: Properties of the deleted managed HSM.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The resource type of the managed HSM Pool.

void validate()

Validates the instance.

DeletedManagedHsmInner withProperties(DeletedManagedHsmProperties properties)

Set the properties property: Properties of the deleted managed HSM.

Methods inherited from java.lang.Object

Constructor Details

DeletedManagedHsmInner

public DeletedManagedHsmInner()

Creates an instance of DeletedManagedHsmInner class.

Method Details

fromJson

public static DeletedManagedHsmInner fromJson(JsonReader jsonReader)

Reads an instance of DeletedManagedHsmInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: The Azure Resource Manager resource ID for the deleted managed HSM Pool.

Returns:

the id value.

name

public String name()

Get the name property: The name of the managed HSM Pool.

Returns:

the name value.

properties

public DeletedManagedHsmProperties properties()

Get the properties property: Properties of the deleted managed HSM.

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

Returns:

the type value.

validate

public void validate()

Validates the instance.

withProperties

public DeletedManagedHsmInner withProperties(DeletedManagedHsmProperties properties)

Set the properties property: Properties of the deleted managed HSM.

Parameters:

properties - the properties value to set.

Returns:

the DeletedManagedHsmInner object itself.

Applies to