Class AccountSkuAutoGenerated
java.lang.Object
com.azure.resourcemanager.purview.models.AccountSkuAutoGenerated
- Direct Known Subclasses:
AccountSku
The Sku.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AccountSkuAutoGenerated class. -
Method Summary
Modifier and TypeMethodDescriptioncapacity()
Get the capacity property: Gets or sets the sku capacity.name()
Get the name property: Gets or sets the sku name.void
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.
-
Constructor Details
-
AccountSkuAutoGenerated
public AccountSkuAutoGenerated()Creates an instance of AccountSkuAutoGenerated class.
-
-
Method Details
-
capacity
Get the capacity property: Gets or sets the sku capacity.- Returns:
- the capacity value.
-
withCapacity
Set the capacity property: Gets or sets the sku capacity.- Parameters:
capacity
- the capacity value to set.- Returns:
- the AccountSkuAutoGenerated object itself.
-
name
Get the name property: Gets or sets the sku name.- Returns:
- the name value.
-
withName
Set the name property: Gets or sets the sku name.- Parameters:
name
- the name value to set.- Returns:
- the AccountSkuAutoGenerated object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-