Class DeletedManagedHsmInner
java.lang.Object
com.azure.resourcemanager.keyvault.fluent.models.DeletedManagedHsmInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DeletedManagedHsmInner>
public final class DeletedManagedHsmInner
extends Object
implements com.azure.json.JsonSerializable<DeletedManagedHsmInner>
The DeletedManagedHsm model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DeletedManagedHsmInner class. -
Method Summary
Modifier and TypeMethodDescriptionstatic DeletedManagedHsmInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DeletedManagedHsmInner from the JsonReader.id()Get the id property: The Azure Resource Manager resource ID for the deleted managed HSM Pool.name()Get the name property: The name of the managed HSM Pool.Get the properties property: Properties of the deleted managed HSM.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The resource type of the managed HSM Pool.voidvalidate()Validates the instance.withProperties(DeletedManagedHsmProperties properties) Set the properties property: Properties of the deleted managed HSM.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DeletedManagedHsmInner
public DeletedManagedHsmInner()Creates an instance of DeletedManagedHsmInner class.
-
-
Method Details
-
id
Get the id property: The Azure Resource Manager resource ID for the deleted managed HSM Pool.- Returns:
- the id value.
-
name
Get the name property: The name of the managed HSM Pool.- Returns:
- the name value.
-
type
Get the type property: The resource type of the managed HSM Pool.- Returns:
- the type value.
-
properties
Get the properties property: Properties of the deleted managed HSM.- Returns:
- the properties value.
-
withProperties
Set the properties property: Properties of the deleted managed HSM.- Parameters:
properties- the properties value to set.- Returns:
- the DeletedManagedHsmInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<DeletedManagedHsmInner>- Throws:
IOException
-
fromJson
public static DeletedManagedHsmInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-