NamespaceSku Class
- java.
lang. Object - com.
microsoft. azure. management. servicebus. NamespaceSku
- com.
public class NamespaceSku
Defines values for NamespaceSku.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Namespace |
BASIC
Static value NamespaceSku for BASIC. |
final Namespace |
PREMIUM_CAPACITY1
Static value NamespaceSku for PREMIUM_CAPACITY1. |
final Namespace |
PREMIUM_CAPACITY2
Static value NamespaceSku for PREMIUM_CAPACITY2. |
final Namespace |
PREMIUM_CAPACITY4
Static value NamespaceSku for PREMIUM_CAPACITY4. |
final Namespace |
STANDARD
Static value NamespaceSku for STANDARD. |
Constructor Summary
Constructor | Description |
---|---|
NamespaceSku(Sku sku) |
Creates Service Bus namespace SKU. |
NamespaceSku(String name, String tier) |
Creates Service Bus namespace sku. |
NamespaceSku(String name, String tier, int capacity) |
Creates Service Bus namespace SKU. |
Method Summary
Modifier and Type | Method and Description |
---|---|
int | capacity() |
boolean | equals(Object obj) |
int | hashCode() |
Sku |
name() |
Sku |
tier() |
String | toString() |
Field Details
BASIC
public static final NamespaceSku BASIC= new NamespaceSku(new Sku().withName(SkuName.BASIC).withTier(SkuTier.BASIC))
Static value NamespaceSku for BASIC.
PREMIUM_CAPACITY1
public static final NamespaceSku PREMIUM_CAPACITY1= new NamespaceSku(new Sku().withCapacity(1).withName(SkuName.PREMIUM).withTier(SkuTier.PREMIUM))
Static value NamespaceSku for PREMIUM_CAPACITY1.
PREMIUM_CAPACITY2
public static final NamespaceSku PREMIUM_CAPACITY2= new NamespaceSku(new Sku().withCapacity(2).withName(SkuName.PREMIUM).withTier(SkuTier.PREMIUM))
Static value NamespaceSku for PREMIUM_CAPACITY2.
PREMIUM_CAPACITY4
public static final NamespaceSku PREMIUM_CAPACITY4= new NamespaceSku(new Sku().withCapacity(4).withName(SkuName.PREMIUM).withTier(SkuTier.PREMIUM))
Static value NamespaceSku for PREMIUM_CAPACITY4.
STANDARD
public static final NamespaceSku STANDARD= new NamespaceSku(new Sku().withName(SkuName.STANDARD).withTier(SkuTier.STANDARD))
Static value NamespaceSku for STANDARD.
Constructor Details
NamespaceSku
public NamespaceSku(Sku sku)
Creates Service Bus namespace SKU.
Parameters:
NamespaceSku
public NamespaceSku(String name, String tier)
Creates Service Bus namespace sku.
Parameters:
NamespaceSku
public NamespaceSku(String name, String tier, int capacity)
Creates Service Bus namespace SKU.
Parameters:
Method Details
capacity
public int capacity()
Returns:
equals
public boolean equals(Object obj)
Parameters:
hashCode
public int hashCode()
name
public SkuName name()
Returns:
tier
public SkuTier tier()
Returns:
toString
public String toString()
Applies to
Azure SDK for Java