Partilhar via


EventHubNamespaceSkuType Class

  • java.lang.Object
    • com.microsoft.azure.management.eventhub.EventHubNamespaceSkuType

Implements

public class EventHubNamespaceSkuType
implements HasInner<Sku>

Defines values for EventHubNamespaceSkuType.

Field Summary

Modifier and Type Field and Description
static final EventHubNamespaceSkuType BASIC

Static value NamespaceSku for BASIC.

static final EventHubNamespaceSkuType STANDARD

Static value NamespaceSku for STANDARD.

Constructor Summary

Constructor Description
EventHubNamespaceSkuType(Sku sku)

Creates event hub namespace sku.

EventHubNamespaceSkuType(SkuName name, SkuTier tier)

Creates event hub namespace sku.

Method Summary

Modifier and Type Method and Description
int capacity()
boolean equals(Object obj)
int hashCode()
Sku inner()
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 EventHubNamespaceSkuType BASIC

Static value NamespaceSku for BASIC.

STANDARD

public static final EventHubNamespaceSkuType STANDARD

Static value NamespaceSku for STANDARD.

Constructor Details

EventHubNamespaceSkuType

public EventHubNamespaceSkuType(Sku sku)

Creates event hub namespace sku.

Parameters:

sku - inner sku model instance

EventHubNamespaceSkuType

public EventHubNamespaceSkuType(SkuName name, SkuTier tier)

Creates event hub namespace sku.

Parameters:

name - sku name
tier - sku tier

Method Details

capacity

public int capacity()

Returns:

sku capacity

equals

public boolean equals(Object obj)

Overrides:

EventHubNamespaceSkuType.equals(Object obj)

Parameters:

obj

hashCode

public int hashCode()

Overrides:

EventHubNamespaceSkuType.hashCode()

inner

public Sku inner()

name

public SkuName name()

Returns:

sku tier

tier

public SkuTier tier()

Returns:

sku tier

toString

public String toString()

Overrides:

EventHubNamespaceSkuType.toString()

Applies to