Class Sku
java.lang.Object
com.azure.resourcemanager.relay.models.Sku
SKU of the namespace.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Sku
public Sku()Creates an instance of Sku class.
-
-
Method Details
-
name
Get the name property: Name of this SKU.- Returns:
- the name value.
-
withName
Set the name property: Name of this SKU.- Parameters:
name
- the name value to set.- Returns:
- the Sku object itself.
-
tier
Get the tier property: The tier of this SKU.- Returns:
- the tier value.
-
withTier
Set the tier property: The tier of this SKU.- Parameters:
tier
- the tier value to set.- Returns:
- the Sku object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-