NamespaceType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. messaging. servicebus. administration. models. NamespaceType
- com.
- com.
public final class NamespaceType
extends ExpandableStringEnum<NamespaceType>
The type of entities the namespace can contain.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Namespace |
EVENT_HUB
Static value Event |
static final
Namespace |
MESSAGING
Static value Messaging for Namespace |
static final
Namespace |
MIXED
Static value Mixed for Namespace |
static final
Namespace |
NOTIFICATION_HUB
Static value Notification |
static final
Namespace |
RELAY
Static value Relay for Namespace |
Constructor Summary
Constructor | Description |
---|---|
NamespaceType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Namespace |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Namespace |
fromString(String name)
Creates or finds a Namespace |
static
Collection<Namespace |
values()
Gets known Namespace |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
EVENT_HUB
public static final NamespaceType EVENT_HUB
Static value EventHub for NamespaceType.
MESSAGING
public static final NamespaceType MESSAGING
Static value Messaging for NamespaceType.
MIXED
public static final NamespaceType MIXED
Static value Mixed for NamespaceType.
NOTIFICATION_HUB
public static final NamespaceType NOTIFICATION_HUB
Static value NotificationHub for NamespaceType.
RELAY
public static final NamespaceType RELAY
Static value Relay for NamespaceType.
Constructor Details
NamespaceType
@Deprecated
public NamespaceType()
Deprecated
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:
Returns:
values
public static Collection
Gets known NamespaceType values.
Returns:
Applies to
Azure SDK for Java