Class DiskSku
java.lang.Object
com.azure.resourcemanager.workloads.models.DiskSku
The disk sku.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name property: Defines the disk sku name.void
validate()
Validates the instance.withName
(DiskSkuName name) Set the name property: Defines the disk sku name.
-
Constructor Details
-
DiskSku
public DiskSku()Creates an instance of DiskSku class.
-
-
Method Details
-
name
Get the name property: Defines the disk sku name.- Returns:
- the name value.
-
withName
Set the name property: Defines the disk sku name.- Parameters:
name
- the name value to set.- Returns:
- the DiskSku object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-