public class PortConfig extends AbstractModel
Constructor and Description |
---|
PortConfig() |
PortConfig(PortConfig source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getNodePort()
Get 节点端口
|
Long |
getPort()
Get 源端口
|
String |
getProtocol()
Get 协议类型(tcp|udp)
|
Long |
getTargetPort()
Get 目标端口
|
void |
setNodePort(Long NodePort)
Set 节点端口
|
void |
setPort(Long Port)
Set 源端口
|
void |
setProtocol(String Protocol)
Set 协议类型(tcp|udp)
|
void |
setTargetPort(Long TargetPort)
Set 目标端口
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public PortConfig()
public PortConfig(PortConfig source)
public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- 协议类型(tcp|udp)public Long getPort()
public void setPort(Long Port)
Port
- 源端口public Long getTargetPort()
public void setTargetPort(Long TargetPort)
TargetPort
- 目标端口public Long getNodePort()
public void setNodePort(Long NodePort)
NodePort
- 节点端口Copyright © 2022. All rights reserved.