Class NamespaceType
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>
The type of entities the namespace can contain.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NamespaceTypeStatic value EventHub for NamespaceType.static final NamespaceTypeStatic value Messaging for NamespaceType.static final NamespaceTypeStatic value Mixed for NamespaceType.static final NamespaceTypeStatic value NotificationHub for NamespaceType.static final NamespaceTypeStatic value Relay for NamespaceType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NamespaceTypefromString(String name) Creates or finds a NamespaceType from its string representation.static Collection<NamespaceType> values()Gets known NamespaceType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
MESSAGING
Static value Messaging for NamespaceType. -
NOTIFICATION_HUB
Static value NotificationHub for NamespaceType. -
MIXED
Static value Mixed for NamespaceType. -
EVENT_HUB
Static value EventHub for NamespaceType. -
RELAY
Static value Relay for NamespaceType.
-
-
Constructor Details
-
NamespaceType
Deprecated.Use thefromString(String)factory method.Creates a new instance of NamespaceType value.
-
-
Method Details
-
fromString
Creates or finds a NamespaceType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding NamespaceType.
-
values
Gets known NamespaceType values.- Returns:
- known NamespaceType values.
-
fromString(String)factory method.