java.lang.Object
com.azure.core.util.ExpandableStringEnum<NamespaceType>
com.azure.messaging.servicebus.administration.models.NamespaceType
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class NamespaceType extends com.azure.core.util.ExpandableStringEnum<NamespaceType>
The type of entities the namespace can contain.
  • Field Details

    • MESSAGING

      public static final NamespaceType MESSAGING
      Static value Messaging for NamespaceType.
    • NOTIFICATION_HUB

      public static final NamespaceType NOTIFICATION_HUB
      Static value NotificationHub for NamespaceType.
    • MIXED

      public static final NamespaceType MIXED
      Static value Mixed for NamespaceType.
    • EVENT_HUB

      public static final NamespaceType EVENT_HUB
      Static value EventHub for NamespaceType.
    • RELAY

      public static final NamespaceType RELAY
      Static value Relay for NamespaceType.
  • Constructor Details

    • NamespaceType

      @Deprecated public NamespaceType()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of NamespaceType value.
  • Method Details

    • fromString

      public static NamespaceType fromString(String name)
      Creates or finds a NamespaceType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding NamespaceType.
    • values

      public static Collection<NamespaceType> values()
      Gets known NamespaceType values.
      Returns:
      known NamespaceType values.