public class Ports extends AbstractModel
header, skipSign| 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 端口协议,TCP或者UDP | 
| Long | getTargetPort()Get 服务端口 | 
| 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, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic Ports()
public Ports(Ports source)
public Long getTargetPort()
public void setTargetPort(Long TargetPort)
TargetPort - 服务端口public String getProtocol()
public void setProtocol(String Protocol)
Protocol - 端口协议,TCP或者UDPCopyright © 2025. All rights reserved.