Class NamespaceSku

java.lang.Object
com.microsoft.azure.management.servicebus.NamespaceSku

public final class NamespaceSku extends Object
Defines values for NamespaceSku.
  • Field Details

    • BASIC

      public static final NamespaceSku BASIC
      Static value NamespaceSku for BASIC.
    • STANDARD

      public static final NamespaceSku STANDARD
      Static value NamespaceSku for STANDARD.
    • 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.
  • Constructor Details

    • 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
    • NamespaceSku

      public NamespaceSku(Sku sku)
      Creates Service Bus namespace SKU.
      Parameters:
      sku - inner sku model instance
  • Method Details

    • name

      public SkuName name()
      Returns:
      sku name
    • tier

      public SkuTier tier()
      Returns:
      sku tier
    • capacity

      public int capacity()
      Returns:
      sku capacity
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object