Sku Class
- java.
lang. Object - com.
azure. resourcemanager. notificationhubs. models. Sku
- com.
public final class Sku
The Sku description for a namespace.
Constructor Summary
Constructor | Description |
---|---|
Sku() |
Creates an instance of Sku class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
capacity()
Get the capacity property: Gets or sets the capacity of the resource. |
String |
family()
Get the family property: Gets or sets the Sku Family. |
Sku |
name()
Get the name property: Namespace SKU name. |
String |
size()
Get the size property: Gets or sets the Sku size. |
String |
tier()
Get the tier property: Gets or sets the tier of particular sku. |
void |
validate()
Validates the instance. |
Sku |
withCapacity(Integer capacity)
Set the capacity property: Gets or sets the capacity of the resource. |
Sku |
withFamily(String family)
Set the family property: Gets or sets the Sku Family. |
Sku |
withName(SkuName name)
Set the name property: Namespace SKU name. |
Sku |
withSize(String size)
Set the size property: Gets or sets the Sku size. |
Sku |
withTier(String tier)
Set the tier property: Gets or sets the tier of particular sku. |
Methods inherited from java.lang.Object
Constructor Details
Sku
public Sku()
Creates an instance of Sku class.
Method Details
capacity
public Integer capacity()
Get the capacity property: Gets or sets the capacity of the resource.
Returns:
family
public String family()
Get the family property: Gets or sets the Sku Family.
Returns:
name
public SkuName name()
Get the name property: Namespace SKU name.
Returns:
size
public String size()
Get the size property: Gets or sets the Sku size.
Returns:
tier
public String tier()
Get the tier property: Gets or sets the tier of particular sku.
Returns:
validate
public void validate()
Validates the instance.
withCapacity
public Sku withCapacity(Integer capacity)
Set the capacity property: Gets or sets the capacity of the resource.
Parameters:
Returns:
withFamily
public Sku withFamily(String family)
Set the family property: Gets or sets the Sku Family.
Parameters:
Returns:
withName
public Sku withName(SkuName name)
Set the name property: Namespace SKU name.
Parameters:
Returns:
withSize
public Sku withSize(String size)
Set the size property: Gets or sets the Sku size.
Parameters:
Returns:
withTier
public Sku withTier(String tier)
Set the tier property: Gets or sets the tier of particular sku.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for