Class AzureResourceSkuInner
- java.lang.Object
-
- com.azure.resourcemanager.synapse.fluent.models.AzureResourceSkuInner
-
public final class AzureResourceSkuInner extends Object
Azure resource SKU definition.
-
-
Constructor Summary
Constructors Constructor Description AzureResourceSkuInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AzureCapacity
capacity()
Get the capacity property: The number of instances of the cluster.String
resourceType()
Get the resourceType property: Resource Namespace and Type.AzureSku
sku()
Get the sku property: The SKU details.void
validate()
Validates the instance.AzureResourceSkuInner
withCapacity(AzureCapacity capacity)
Set the capacity property: The number of instances of the cluster.AzureResourceSkuInner
withResourceType(String resourceType)
Set the resourceType property: Resource Namespace and Type.AzureResourceSkuInner
withSku(AzureSku sku)
Set the sku property: The SKU details.
-
-
-
Method Detail
-
resourceType
public String resourceType()
Get the resourceType property: Resource Namespace and Type.- Returns:
- the resourceType value.
-
withResourceType
public AzureResourceSkuInner withResourceType(String resourceType)
Set the resourceType property: Resource Namespace and Type.- Parameters:
resourceType
- the resourceType value to set.- Returns:
- the AzureResourceSkuInner object itself.
-
sku
public AzureSku sku()
Get the sku property: The SKU details.- Returns:
- the sku value.
-
withSku
public AzureResourceSkuInner withSku(AzureSku sku)
Set the sku property: The SKU details.- Parameters:
sku
- the sku value to set.- Returns:
- the AzureResourceSkuInner object itself.
-
capacity
public AzureCapacity capacity()
Get the capacity property: The number of instances of the cluster.- Returns:
- the capacity value.
-
withCapacity
public AzureResourceSkuInner withCapacity(AzureCapacity capacity)
Set the capacity property: The number of instances of the cluster.- Parameters:
capacity
- the capacity value to set.- Returns:
- the AzureResourceSkuInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-