Class NetworkPorts
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tcss.v20201101.models.NetworkPorts
-
public class NetworkPorts extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description NetworkPorts()NetworkPorts(NetworkPorts 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 StringgetPort()Get 网络策略策略端口 注意:此字段可能返回 null,表示取不到有效值。StringgetProtocol()Get 网络策略协议 注意:此字段可能返回 null,表示取不到有效值。voidsetPort(String Port)Set 网络策略策略端口 注意:此字段可能返回 null,表示取不到有效值。voidsetProtocol(String Protocol)Set 网络策略协议 注意:此字段可能返回 null,表示取不到有效值。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
-
NetworkPorts
public NetworkPorts()
-
NetworkPorts
public NetworkPorts(NetworkPorts 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 网络策略协议 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Protocol 网络策略协议 注意:此字段可能返回 null,表示取不到有效值。
-
setProtocol
public void setProtocol(String Protocol)
Set 网络策略协议 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Protocol- 网络策略协议 注意:此字段可能返回 null,表示取不到有效值。
-
getPort
public String getPort()
Get 网络策略策略端口 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Port 网络策略策略端口 注意:此字段可能返回 null,表示取不到有效值。
-
setPort
public void setPort(String Port)
Set 网络策略策略端口 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Port- 网络策略策略端口 注意:此字段可能返回 null,表示取不到有效值。
-
-