public class PortMapping extends AbstractModel
Constructor and Description |
---|
PortMapping() |
PortMapping(PortMapping 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 |
getPort()
Get 端口
|
String |
getProtocol()
Get 协议栈 TCP/UDP
|
Long |
getTargetPort()
Get 映射端口
|
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 PortMapping()
public PortMapping(PortMapping source)
public Long getPort()
public void setPort(Long Port)
Port
- 端口public Long getTargetPort()
public void setTargetPort(Long TargetPort)
TargetPort
- 映射端口public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- 协议栈 TCP/UDPCopyright © 2022. All rights reserved.