你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NamespaceSku Class
- java.
lang. Object - com.
azure. resourcemanager. servicebus. models. NamespaceSku
- com.
public final class NamespaceSku
Defines values for NamespaceSku.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Namespace |
BASIC
Static value Namespace |
static final
Namespace |
PREMIUM_CAPACITY1
Static value Namespace |
static final
Namespace |
PREMIUM_CAPACITY2
Static value Namespace |
static final
Namespace |
PREMIUM_CAPACITY4
Static value Namespace |
static final
Namespace |
STANDARD
Static value Namespace |
Constructor Summary
Constructor | Description |
---|---|
NamespaceSku(SBSku 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() |
Methods inherited from java.lang.Object
Field Details
BASIC
public static final NamespaceSku BASIC
Static value NamespaceSku for BASIC.
PREMIUM_CAPACITY1
public static final NamespaceSku PREMIUM_CAPACITY1
Static value NamespaceSku for PREMIUM_CAPACITY1.
PREMIUM_CAPACITY2
public static final NamespaceSku PREMIUM_CAPACITY2
Static value NamespaceSku for PREMIUM_CAPACITY2.
PREMIUM_CAPACITY4
public static final NamespaceSku PREMIUM_CAPACITY4
Static value NamespaceSku for PREMIUM_CAPACITY4.
STANDARD
public static final NamespaceSku STANDARD
Static value NamespaceSku for STANDARD.
Constructor Details
NamespaceSku
public NamespaceSku(SBSku 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)
Overrides:
NamespaceSku.equals(Object obj)Parameters:
hashCode
public int hashCode()
Overrides:
NamespaceSku.hashCode()name
public SkuName name()
Returns:
tier
public SkuTier tier()
Returns:
toString
public String toString()
Overrides:
NamespaceSku.toString()