CloudHsmClusterSku Class
- java.
lang. Object - com.
azure. resourcemanager. hardwaresecuritymodules. models. CloudHsmClusterSku
- com.
Implements
public final class CloudHsmClusterSku
implements JsonSerializable<CloudHsmClusterSku>
Cloud Hsm Cluster SKU information.
Constructor Summary
| Constructor | Description |
|---|---|
| CloudHsmClusterSku() |
Creates an instance of Cloud |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
capacity()
Get the capacity property: Sku capacity. |
|
Cloud |
family()
Get the family property: Sku family of the Cloud HSM Cluster. |
|
static
Cloud |
fromJson(JsonReader jsonReader)
Reads an instance of Cloud |
|
Cloud |
name()
Get the name property: Sku name of the Cloud HSM Cluster. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Cloud |
withCapacity(Integer capacity)
Set the capacity property: Sku capacity. |
|
Cloud |
withFamily(CloudHsmClusterSkuFamily family)
Set the family property: Sku family of the Cloud HSM Cluster. |
|
Cloud |
withName(CloudHsmClusterSkuName name)
Set the name property: Sku name of the Cloud HSM Cluster. |
Methods inherited from java.lang.Object
Constructor Details
CloudHsmClusterSku
public CloudHsmClusterSku()
Creates an instance of CloudHsmClusterSku class.
Method Details
capacity
public Integer capacity()
Get the capacity property: Sku capacity.
Returns:
family
public CloudHsmClusterSkuFamily family()
Get the family property: Sku family of the Cloud HSM Cluster.
Returns:
fromJson
public static CloudHsmClusterSku fromJson(JsonReader jsonReader)
Reads an instance of CloudHsmClusterSku from the JsonReader.
Parameters:
Returns:
Throws:
name
public CloudHsmClusterSkuName name()
Get the name property: Sku name of the Cloud HSM Cluster.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCapacity
public CloudHsmClusterSku withCapacity(Integer capacity)
Set the capacity property: Sku capacity.
Parameters:
Returns:
withFamily
public CloudHsmClusterSku withFamily(CloudHsmClusterSkuFamily family)
Set the family property: Sku family of the Cloud HSM Cluster.
Parameters:
Returns:
withName
public CloudHsmClusterSku withName(CloudHsmClusterSkuName name)
Set the name property: Sku name of the Cloud HSM Cluster.
Parameters:
Returns: