public class ProtocolPort extends AbstractModel
Constructor and Description |
---|
ProtocolPort() |
ProtocolPort(ProtocolPort 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)
|
void |
setPort(Long Port)
Set 端口
|
void |
setProtocol(String Protocol)
Set 协议(tcp;udp)
|
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 ProtocolPort()
public ProtocolPort(ProtocolPort source)
public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- 协议(tcp;udp)public Long getPort()
public void setPort(Long Port)
Port
- 端口Copyright © 2021. All rights reserved.