Class ProtocolPort
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dayu.v20180709.models.ProtocolPort
-
public class ProtocolPort extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetPort()Get 端口StringgetProtocol()Get 协议(tcp;udp)voidsetPort(Long Port)Set 端口voidsetProtocol(String Protocol)Set 协议(tcp;udp)voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ProtocolPort
public ProtocolPort()
-
ProtocolPort
public 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.
-
-
Method Detail
-
getProtocol
public String getProtocol()
Get 协议(tcp;udp)- Returns:
- Protocol 协议(tcp;udp)
-
setProtocol
public void setProtocol(String Protocol)
Set 协议(tcp;udp)- Parameters:
Protocol- 协议(tcp;udp)
-
getPort
public Long getPort()
Get 端口- Returns:
- Port 端口
-
setPort
public void setPort(Long Port)
Set 端口- Parameters:
Port- 端口
-
-