Protocol Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. impactreporting. models. Protocol
- com.
- com.
public final class Protocol
extends ExpandableStringEnum<Protocol>
List of protocols.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
| static final Protocol |
FTP
When communication protocol is FTP. |
| static final Protocol |
HTTP
When communication protocol is HTTP. |
| static final Protocol |
HTTPS
When communication protocol is HTTPS. |
| static final Protocol |
OTHER
When communication protocol is Other. |
| static final Protocol |
RDP
When communication protocol is RDP. |
| static final Protocol |
SSH
When communication protocol is SSH. |
| static final Protocol |
TCP
When communication protocol is TCP. |
| static final Protocol |
UDP
When communication protocol is UDP. |
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
FTP
public static final Protocol FTP
When communication protocol is FTP.
HTTP
public static final Protocol HTTP
When communication protocol is HTTP.
HTTPS
public static final Protocol HTTPS
When communication protocol is HTTPS.
OTHER
public static final Protocol OTHER
When communication protocol is Other.
RDP
public static final Protocol RDP
When communication protocol is RDP.
SSH
public static final Protocol SSH
When communication protocol is SSH.
TCP
public static final Protocol TCP
When communication protocol is TCP.
UDP
public static final Protocol UDP
When communication protocol is UDP.
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<Protocol> values()
Gets known Protocol values.
Returns: