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 Port.
|
String |
getProtocol()
Get TCP/UDP protocol stack.
|
Long |
getTargetPort()
Get Mapped port.
|
void |
setPort(Long Port)
Set Port.
|
void |
setProtocol(String Protocol)
Set TCP/UDP protocol stack.
|
void |
setTargetPort(Long TargetPort)
Set Mapped port.
|
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
- Port.public Long getTargetPort()
public void setTargetPort(Long TargetPort)
TargetPort
- Mapped port.public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- TCP/UDP protocol stack.Copyright © 2023. All rights reserved.