Class AccountSku
java.lang.Object
com.azure.resourcemanager.purview.models.AccountSkuAutoGenerated
com.azure.resourcemanager.purview.models.AccountSku
Gets or sets the Sku.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.withCapacity
(Integer capacity) Set the capacity property: Gets or sets the sku capacity.Set the name property: Gets or sets the sku name.Methods inherited from class com.azure.resourcemanager.purview.models.AccountSkuAutoGenerated
capacity, name
-
Constructor Details
-
AccountSku
public AccountSku()Creates an instance of AccountSku class.
-
-
Method Details
-
withCapacity
Set the capacity property: Gets or sets the sku capacity.- Overrides:
withCapacity
in classAccountSkuAutoGenerated
- Parameters:
capacity
- the capacity value to set.- Returns:
- the AccountSkuAutoGenerated object itself.
-
withName
Set the name property: Gets or sets the sku name.- Overrides:
withName
in classAccountSkuAutoGenerated
- Parameters:
name
- the name value to set.- Returns:
- the AccountSkuAutoGenerated object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classAccountSkuAutoGenerated
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-