Freigeben über


ManagedHsmSku Class

  • java.lang.Object
    • com.azure.resourcemanager.keyvault.models.ManagedHsmSku

Implements

public final class ManagedHsmSku
implements JsonSerializable<ManagedHsmSku>

SKU details.

Constructor Summary

Constructor Description
ManagedHsmSku()

Creates an instance of ManagedHsmSku class.

Method Summary

Modifier and Type Method and Description
ManagedHsmSkuFamily family()

Get the family property: SKU Family of the managed HSM Pool.

static ManagedHsmSku fromJson(JsonReader jsonReader)

Reads an instance of ManagedHsmSku from the JsonReader.

ManagedHsmSkuName name()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedHsmSku withFamily(ManagedHsmSkuFamily family)

Set the family property: SKU Family of the managed HSM Pool.

ManagedHsmSku withName(ManagedHsmSkuName name)

Set the name property: SKU of the managed HSM Pool.

Methods inherited from java.lang.Object

Constructor Details

ManagedHsmSku

public ManagedHsmSku()

Creates an instance of ManagedHsmSku class.

Method Details

family

public ManagedHsmSkuFamily family()

Get the family property: SKU Family of the managed HSM Pool.

Returns:

the family value.

fromJson

public static ManagedHsmSku fromJson(JsonReader jsonReader)

Reads an instance of ManagedHsmSku from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public ManagedHsmSkuName name()

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

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withFamily

public ManagedHsmSku withFamily(ManagedHsmSkuFamily family)

Set the family property: SKU Family of the managed HSM Pool.

Parameters:

family - the family value to set.

Returns:

the ManagedHsmSku object itself.

withName

public ManagedHsmSku withName(ManagedHsmSkuName name)

Set the name property: SKU of the managed HSM Pool.

Parameters:

name - the name value to set.

Returns:

the ManagedHsmSku object itself.

Applies to