Class ResourceSku
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.ResourceSku
-
public final class ResourceSku extends Object
Describes an available API Management SKU.
-
-
Constructor Summary
Constructors Constructor Description ResourceSku()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SkuType
name()
Get the name property: Name of the Sku.void
validate()
Validates the instance.ResourceSku
withName(SkuType name)
Set the name property: Name of the Sku.
-
-
-
Method Detail
-
name
public SkuType name()
Get the name property: Name of the Sku.- Returns:
- the name value.
-
withName
public ResourceSku withName(SkuType name)
Set the name property: Name of the Sku.- Parameters:
name
- the name value to set.- Returns:
- the ResourceSku object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-