Class CapacitySku
java.lang.Object
com.azure.resourcemanager.powerbidedicated.models.CapacitySku
Represents the SKU name and Azure pricing tier for PowerBI Dedicated capacity resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncapacity()
Get the capacity property: The capacity of the SKU.name()
Get the name property: Name of the SKU level.tier()
Get the tier property: The name of the Azure pricing tier to which the SKU applies.void
validate()
Validates the instance.withCapacity
(Integer capacity) Set the capacity property: The capacity of the SKU.Set the name property: Name of the SKU level.withTier
(CapacitySkuTier tier) Set the tier property: The name of the Azure pricing tier to which the SKU applies.
-
Constructor Details
-
CapacitySku
public CapacitySku()Creates an instance of CapacitySku class.
-
-
Method Details
-
name
Get the name property: Name of the SKU level.- Returns:
- the name value.
-
withName
Set the name property: Name of the SKU level.- Parameters:
name
- the name value to set.- Returns:
- the CapacitySku object itself.
-
tier
Get the tier property: The name of the Azure pricing tier to which the SKU applies.- Returns:
- the tier value.
-
withTier
Set the tier property: The name of the Azure pricing tier to which the SKU applies.- Parameters:
tier
- the tier value to set.- Returns:
- the CapacitySku object itself.
-
capacity
Get the capacity property: The capacity of the SKU.- Returns:
- the capacity value.
-
withCapacity
Set the capacity property: The capacity of the SKU.- Parameters:
capacity
- the capacity value to set.- Returns:
- the CapacitySku object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-