public class Ports extends AbstractModel
Constructor and Description |
---|
Ports() |
Ports(Ports 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 |
---|---|
String |
getProtocol()
Get 端口协议
|
Long |
getTargetPort()
Get 服务端口
|
void |
setProtocol(String Protocol)
Set 端口协议
|
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 Ports()
public Ports(Ports source)
public Long getTargetPort()
public void setTargetPort(Long TargetPort)
TargetPort
- 服务端口public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- 端口协议Copyright © 2021. All rights reserved.