Freigeben über


EventHubNamespaceSkuType Class

  • java.lang.Object
    • com.azure.resourcemanager.eventhubs.models.EventHubNamespaceSkuType

Implements

public class EventHubNamespaceSkuType
implements HasInnerModel<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 PREMIUM

Static value NamespaceSku for STANDARD.

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 innerModel()
SkuName name()
SkuTier tier()
String toString()

Methods inherited from java.lang.Object

Field Details

BASIC

public static final EventHubNamespaceSkuType BASIC

Static value NamespaceSku for BASIC.

PREMIUM

public static final EventHubNamespaceSkuType PREMIUM

Static value NamespaceSku for STANDARD.

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

innerModel

public Sku innerModel()

name

public SkuName name()

Returns:

sku tier

tier

public SkuTier tier()

Returns:

sku tier

toString

public String toString()

Overrides:

EventHubNamespaceSkuType.toString()

Applies to