Protocol Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. security. models. Protocol
- com.
- com.
public final class Protocol
extends ExpandableStringEnum<Protocol>
Defines values for Protocol.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final Protocol |
ASTERISK
Static value * for Protocol. |
static final Protocol |
TCP
Static value TCP for Protocol. |
static final Protocol |
UDP
Static value UDP for Protocol. |
Constructor Summary
Constructor | Description |
---|---|
Protocol() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Protocol value. |
Method Summary
Modifier and Type | Method and Description |
---|---|
static Protocol |
fromString(String name)
Creates or finds a Protocol from its string representation. |
static Collection<Protocol> |
values()
Gets known Protocol values. |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ASTERISK
public static final Protocol ASTERISK
Static value * for Protocol.
TCP
public static final Protocol TCP
Static value TCP for Protocol.
UDP
public static final Protocol UDP
Static value UDP for Protocol.
Constructor Details
Protocol
@Deprecated
public Protocol()
Deprecated
Creates a new instance of Protocol value.
Method Details
fromString
public static Protocol fromString(String name)
Creates or finds a Protocol from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known Protocol values.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for