Sku Class
- java.
lang. Object - com.
microsoft. azure. management. servicebus. Sku
- com.
public class Sku
SKU of the namespace.
Constructor Summary
Constructor | Description | |
---|---|---|
Sku() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
capacity()
Get the capacity value. |
Sku |
name()
Get the name value. |
Sku |
tier()
Get the tier value. |
Sku |
withCapacity(Integer capacity)
Set the capacity value. |
Sku |
withName(SkuName name)
Set the name value. |
Sku |
withTier(SkuTier tier)
Set the tier value. |
Methods inherited from java.lang.Object
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.toString
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Constructor Details
Sku
public Sku()
Method Details
capacity
public Integer capacity()
Get the capacity value.
Returns:
the capacity value
name
public SkuName name()
Get the name value.
Returns:
the name value
tier
public SkuTier tier()
Get the tier value.
Returns:
the tier value
withCapacity
public Sku withCapacity(Integer capacity)
Set the capacity value.
Parameters:
capacity
- the capacity value to set
Returns:
the Sku object itself.
withName
public Sku withName(SkuName name)
Set the name value.
Parameters:
name
- the name value to set
Returns:
the Sku object itself.
withTier
public Sku withTier(SkuTier tier)
Set the tier value.
Parameters:
tier
- the tier value to set
Returns:
the Sku object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java