Partilhar via


NamespaceSku Class

  • java.lang.Object
    • com.azure.resourcemanager.servicebus.models.NamespaceSku

public final class NamespaceSku

Defines values for NamespaceSku.

Field Summary

Modifier and Type Field and Description
static final NamespaceSku BASIC

Static value NamespaceSku for BASIC.

static final NamespaceSku PREMIUM_CAPACITY1

Static value NamespaceSku for PREMIUM_CAPACITY1.

static final NamespaceSku PREMIUM_CAPACITY2

Static value NamespaceSku for PREMIUM_CAPACITY2.

static final NamespaceSku PREMIUM_CAPACITY4

Static value NamespaceSku for PREMIUM_CAPACITY4.

static final NamespaceSku STANDARD

Static value NamespaceSku for STANDARD.

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()
SkuName name()
SkuTier 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:

sku - inner sku model instance

NamespaceSku

public NamespaceSku(String name, String tier)

Creates Service Bus namespace sku.

Parameters:

name - sku name
tier - sku tier

NamespaceSku

public NamespaceSku(String name, String tier, int capacity)

Creates Service Bus namespace SKU.

Parameters:

name - sku name
tier - sku tier
capacity - factor of resources allocated to host Service Bus

Method Details

capacity

public int capacity()

Returns:

sku capacity

equals

public boolean equals(Object obj)

Overrides:

NamespaceSku.equals(Object obj)

Parameters:

obj

hashCode

public int hashCode()

Overrides:

NamespaceSku.hashCode()

name

public SkuName name()

Returns:

sku name

tier

public SkuTier tier()

Returns:

sku tier

toString

public String toString()

Overrides:

NamespaceSku.toString()

Applies to