Class Sku
- java.lang.Object
-
- com.azure.resourcemanager.notificationhubs.models.Sku
-
public final class Sku extends Object
The Sku description for a namespace.
-
-
Constructor Summary
Constructors Constructor Description Sku()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
capacity()
Get the capacity property: The capacity of the resource.String
family()
Get the family property: The Sku Family.SkuName
name()
Get the name property: Name of the notification hub sku.String
size()
Get the size property: The Sku size.String
tier()
Get the tier property: The tier of particular sku.void
validate()
Validates the instance.Sku
withCapacity(Integer capacity)
Set the capacity property: The capacity of the resource.Sku
withFamily(String family)
Set the family property: The Sku Family.Sku
withName(SkuName name)
Set the name property: Name of the notification hub sku.Sku
withSize(String size)
Set the size property: The Sku size.Sku
withTier(String tier)
Set the tier property: The tier of particular sku.
-
-
-
Method Detail
-
name
public SkuName name()
Get the name property: Name of the notification hub sku.- Returns:
- the name value.
-
withName
public Sku withName(SkuName name)
Set the name property: Name of the notification hub sku.- Parameters:
name
- the name value to set.- Returns:
- the Sku object itself.
-
tier
public String tier()
Get the tier property: The tier of particular sku.- Returns:
- the tier value.
-
withTier
public Sku withTier(String tier)
Set the tier property: The tier of particular sku.- Parameters:
tier
- the tier value to set.- Returns:
- the Sku object itself.
-
size
public String size()
Get the size property: The Sku size.- Returns:
- the size value.
-
withSize
public Sku withSize(String size)
Set the size property: The Sku size.- Parameters:
size
- the size value to set.- Returns:
- the Sku object itself.
-
family
public String family()
Get the family property: The Sku Family.- Returns:
- the family value.
-
withFamily
public Sku withFamily(String family)
Set the family property: The Sku Family.- Parameters:
family
- the family value to set.- Returns:
- the Sku object itself.
-
capacity
public Integer capacity()
Get the capacity property: The capacity of the resource.- Returns:
- the capacity value.
-
withCapacity
public Sku withCapacity(Integer capacity)
Set the capacity property: The capacity of the resource.- Parameters:
capacity
- the capacity value to set.- Returns:
- the Sku object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-