NamespaceSku Class

  • java.lang.Object
    • com.microsoft.azure.management.servicebus.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(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()
SkuName name()
SkuTier tier()
java.lang.String toString()

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

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(Sku 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