Class WebPubSubClientProtocol
java.lang.Object
com.azure.core.util.ExpandableStringEnum<WebPubSubClientProtocol>
com.azure.messaging.webpubsub.models.WebPubSubClientProtocol
public final class WebPubSubClientProtocol
extends com.azure.core.util.ExpandableStringEnum<WebPubSubClientProtocol>
Defines values for WebPubSubClientProtocol.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final WebPubSubClientProtocolStatic value DEFAULT for WebPubSubClientProtocol.static final WebPubSubClientProtocolStatic value MQTT for WebPubSubClientProtocol. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WebPubSubClientProtocolfromString(String name) Creates or finds a WebPubSubClientProtocol from its string representation.static Collection<WebPubSubClientProtocol>values()Gets known WebPubSubClientProtocol values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
DEFAULT
Static value DEFAULT for WebPubSubClientProtocol. -
MQTT
Static value MQTT for WebPubSubClientProtocol.
-
-
Constructor Details
-
WebPubSubClientProtocol
public WebPubSubClientProtocol()
-
-
Method Details
-
fromString
Creates or finds a WebPubSubClientProtocol from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding WebPubSubClientProtocol.
-
values
Gets known WebPubSubClientProtocol values.- Returns:
- known WebPubSubClientProtocol values.
-