Class SkuResourceInner
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.fluent.models.SkuResourceInner
-
public final class SkuResourceInner extends Object
Fulfills ARM Contract requirement to list all available SKUS for a resource.
-
-
Constructor Summary
Constructors Constructor Description SkuResourceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SkuCapacity
capacity()
Get the capacity property: Gets or sets the Sku Capacity.String
resourceType()
Get the resourceType property: The resource type name.SkuSetting
sku()
Get the sku property: Gets or sets the Sku.void
validate()
Validates the instance.SkuResourceInner
withCapacity(SkuCapacity capacity)
Set the capacity property: Gets or sets the Sku Capacity.SkuResourceInner
withSku(SkuSetting sku)
Set the sku property: Gets or sets the Sku.
-
-
-
Method Detail
-
capacity
public SkuCapacity capacity()
Get the capacity property: Gets or sets the Sku Capacity.- Returns:
- the capacity value.
-
withCapacity
public SkuResourceInner withCapacity(SkuCapacity capacity)
Set the capacity property: Gets or sets the Sku Capacity.- Parameters:
capacity
- the capacity value to set.- Returns:
- the SkuResourceInner object itself.
-
resourceType
public String resourceType()
Get the resourceType property: The resource type name.- Returns:
- the resourceType value.
-
sku
public SkuSetting sku()
Get the sku property: Gets or sets the Sku.- Returns:
- the sku value.
-
withSku
public SkuResourceInner withSku(SkuSetting sku)
Set the sku property: Gets or sets the Sku.- Parameters:
sku
- the sku value to set.- Returns:
- the SkuResourceInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-