Partager via


CloudHsmClusterInner Class

public final class CloudHsmClusterInner
extends Resource

Resource information with extended details.

Constructor Summary

Constructor Description
CloudHsmClusterInner()

Creates an instance of CloudHsmClusterInner class.

Method Summary

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

Reads an instance of CloudHsmClusterInner from the JsonReader.

String id()

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

ManagedServiceIdentity identity()

Get the identity property: Managed service identity (system assigned and/or user assigned identities).

String name()

Get the name property: The name of the resource.

CloudHsmClusterProperties properties()

Get the properties property: Properties of the Cloud HSM Cluster.

CloudHsmClusterSku 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.

CloudHsmClusterInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: Managed service identity (system assigned and/or user assigned identities).

CloudHsmClusterInner withLocation(String location)
CloudHsmClusterInner withProperties(CloudHsmClusterProperties properties)

Set the properties property: Properties of the Cloud HSM Cluster.

CloudHsmClusterInner withSku(CloudHsmClusterSku sku)

Set the sku property: SKU details.

CloudHsmClusterInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

CloudHsmClusterInner

public CloudHsmClusterInner()

Creates an instance of CloudHsmClusterInner class.

Method Details

fromJson

public static CloudHsmClusterInner fromJson(JsonReader jsonReader)

Reads an instance of CloudHsmClusterInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CloudHsmClusterInner 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:

CloudHsmClusterInner.id()

Returns:

the id value.

identity

public ManagedServiceIdentity identity()

Get the identity property: Managed service identity (system assigned and/or user assigned identities).

Returns:

the identity value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

CloudHsmClusterInner.name()

Returns:

the name value.

properties

public CloudHsmClusterProperties properties()

Get the properties property: Properties of the Cloud HSM Cluster.

Returns:

the properties value.

sku

public CloudHsmClusterSku 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:

CloudHsmClusterInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

CloudHsmClusterInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withIdentity

public CloudHsmClusterInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: Managed service identity (system assigned and/or user assigned identities).

Parameters:

identity - the identity value to set.

Returns:

the CloudHsmClusterInner object itself.

withLocation

public CloudHsmClusterInner withLocation(String location)

Overrides:

CloudHsmClusterInner.withLocation(String location)

Parameters:

location

withProperties

public CloudHsmClusterInner withProperties(CloudHsmClusterProperties properties)

Set the properties property: Properties of the Cloud HSM Cluster.

Parameters:

properties - the properties value to set.

Returns:

the CloudHsmClusterInner object itself.

withSku

public CloudHsmClusterInner withSku(CloudHsmClusterSku sku)

Set the sku property: SKU details.

Parameters:

sku - the sku value to set.

Returns:

the CloudHsmClusterInner object itself.

withTags

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

Overrides:

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

Parameters:

tags

Applies to