DedicatedHsmPatchParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.hardwaresecuritymodules.models.DedicatedHsmPatchParameters

Implements

public final class DedicatedHsmPatchParameters
implements JsonSerializable<DedicatedHsmPatchParameters>

Patchable properties of the dedicated HSM.

Constructor Summary

Constructor Description
DedicatedHsmPatchParameters()

Creates an instance of DedicatedHsmPatchParameters class.

Method Summary

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

Reads an instance of DedicatedHsmPatchParameters from the JsonReader.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DedicatedHsmPatchParameters withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from java.lang.Object

Constructor Details

DedicatedHsmPatchParameters

public DedicatedHsmPatchParameters()

Creates an instance of DedicatedHsmPatchParameters class.

Method Details

fromJson

public static DedicatedHsmPatchParameters fromJson(JsonReader jsonReader)

Reads an instance of DedicatedHsmPatchParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

tags

public Map<String,String> tags()

Get the tags property: Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withTags

public DedicatedHsmPatchParameters withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the DedicatedHsmPatchParameters object itself.

Applies to