Partager via


DedicatedHsmInner Class

public final class DedicatedHsmInner
extends Resource

Resource information with extended details.

Constructor Summary

Constructor Description
DedicatedHsmInner()

Creates an instance of DedicatedHsmInner class.

Method Summary

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

Reads an instance of DedicatedHsmInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

DedicatedHsmProperties properties()

Get the properties property: Properties of the dedicated HSM.

Sku sku()

Get the sku property: SKU details.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

DedicatedHsmInner withLocation(String location)
DedicatedHsmInner withProperties(DedicatedHsmProperties properties)

Set the properties property: Properties of the dedicated HSM.

DedicatedHsmInner withSku(Sku sku)

Set the sku property: SKU details.

DedicatedHsmInner withTags(Map<String,String> tags)
DedicatedHsmInner withZones(List<String> zones)

Set the zones property: The availability zones.

List<String> zones()

Get the zones property: The availability zones.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

DedicatedHsmInner

public DedicatedHsmInner()

Creates an instance of DedicatedHsmInner class.

Method Details

fromJson

public static DedicatedHsmInner fromJson(JsonReader jsonReader)

Reads an instance of DedicatedHsmInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DedicatedHsmInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

DedicatedHsmInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DedicatedHsmInner.name()

Returns:

the name value.

properties

public DedicatedHsmProperties properties()

Get the properties property: Properties of the dedicated HSM.

Returns:

the properties value.

sku

public Sku sku()

Get the sku property: SKU details.

Returns:

the sku value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DedicatedHsmInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DedicatedHsmInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withLocation

public DedicatedHsmInner withLocation(String location)

Overrides:

DedicatedHsmInner.withLocation(String location)

Parameters:

location

withProperties

public DedicatedHsmInner withProperties(DedicatedHsmProperties properties)

Set the properties property: Properties of the dedicated HSM.

Parameters:

properties - the properties value to set.

Returns:

the DedicatedHsmInner object itself.

withSku

public DedicatedHsmInner withSku(Sku sku)

Set the sku property: SKU details.

Parameters:

sku - the sku value to set.

Returns:

the DedicatedHsmInner object itself.

withTags

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

Overrides:

DedicatedHsmInner.withTags(Map<String,String> tags)

Parameters:

tags

withZones

public DedicatedHsmInner withZones(List<String> zones)

Set the zones property: The availability zones.

Parameters:

zones - the zones value to set.

Returns:

the DedicatedHsmInner object itself.

zones

public List<String> zones()

Get the zones property: The availability zones.

Returns:

the zones value.

Applies to