Class SkuDetailsForExistingResource
java.lang.Object
com.azure.resourcemanager.powerbidedicated.models.SkuDetailsForExistingResource
An object that represents SKU details for existing resources.
-
Constructor Summary
ConstructorDescriptionCreates an instance of SkuDetailsForExistingResource class. -
Method Summary
Modifier and TypeMethodDescriptionGet the resourceType property: The resource type.sku()
Get the sku property: The SKU in SKU details for existing resources.void
validate()
Validates the instance.withResourceType
(String resourceType) Set the resourceType property: The resource type.withSku
(CapacitySku sku) Set the sku property: The SKU in SKU details for existing resources.
-
Constructor Details
-
SkuDetailsForExistingResource
public SkuDetailsForExistingResource()Creates an instance of SkuDetailsForExistingResource class.
-
-
Method Details
-
resourceType
Get the resourceType property: The resource type.- Returns:
- the resourceType value.
-
withResourceType
Set the resourceType property: The resource type.- Parameters:
resourceType
- the resourceType value to set.- Returns:
- the SkuDetailsForExistingResource object itself.
-
sku
Get the sku property: The SKU in SKU details for existing resources.- Returns:
- the sku value.
-
withSku
Set the sku property: The SKU in SKU details for existing resources.- Parameters:
sku
- the sku value to set.- Returns:
- the SkuDetailsForExistingResource object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-