Class NamespaceType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<NamespaceType>
com.azure.messaging.servicebus.administration.models.NamespaceType
Defines values for NamespaceType.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final NamespaceType
Static value EventHub for NamespaceType.static final NamespaceType
Static value Messaging for NamespaceType.static final NamespaceType
Static value Mixed for NamespaceType.static final NamespaceType
Static value NotificationHub for NamespaceType.static final NamespaceType
Static value Relay for NamespaceType. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic NamespaceType
fromString
(String name) Creates or finds a NamespaceType from its string representation.static Collection<NamespaceType>
values()
Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, 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
public NamespaceType()
-
-
Method Details
-
fromString
Creates or finds a NamespaceType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding NamespaceType.
-
values
- Returns:
- known NamespaceType values.
-