Layer4Protocol 类
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. managednetworkfabric. models. Layer4Protocol
- com.
- com.
public final class Layer4Protocol
extends ExpandableStringEnum<Layer4Protocol>
需要匹配的第 4 层协议类型。
字段摘要
| 修饰符和类型 | 字段和描述 |
|---|---|
| static final Layer4Protocol |
TCP
Layer4Protocol 的静态值 TCP。 |
| static final Layer4Protocol |
UDP
Layer4Protocol 的静态值 UDP。 |
构造函数摘要
| 构造函数 | 说明 |
|---|---|
| Layer4Protocol() |
已放弃
fromString(String name)使用工厂方法。
创建 Layer4Protocol 值的新实例。 |
方法摘要
| 修饰符和类型 | 方法和描述 |
|---|---|
| static Layer4Protocol |
fromString(String name)
从其字符串表示形式创建或查找 Layer4Protocol。 |
| static Collection<Layer4Protocol> |
values()
获取已知的 Layer4Protocol 值。 |
方法继承自 ExpandableStringEnum
方法继承自 java.lang.Object
字段详细信息
TCP
public static final Layer4Protocol TCP
Layer4Protocol 的静态值 TCP。
UDP
public static final Layer4Protocol UDP
Layer4Protocol 的静态值 UDP。
构造函数详细信息
Layer4Protocol
方法详细信息
fromString
public static Layer4Protocol fromString(String name)
从其字符串表示形式创建或查找 Layer4Protocol。
Parameters:
Returns:
values
public static Collection
获取已知的 Layer4Protocol 值。
Returns: