Class ServicePortMappingItem
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tem.v20210701.models.ServicePortMappingItem
-
public class ServicePortMappingItem extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ServicePortMappingItem()ServicePortMappingItem(ServicePortMappingItem 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 应用访问端口 注意:此字段可能返回 null,表示取不到有效值。StringgetProtocol()Get 协议类型 注意:此字段可能返回 null,表示取不到有效值。LonggetTargetPort()Get 应用监听端口 注意:此字段可能返回 null,表示取不到有效值。voidsetPort(Long Port)Set 应用访问端口 注意:此字段可能返回 null,表示取不到有效值。voidsetProtocol(String Protocol)Set 协议类型 注意:此字段可能返回 null,表示取不到有效值。voidsetTargetPort(Long TargetPort)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
-
ServicePortMappingItem
public ServicePortMappingItem()
-
ServicePortMappingItem
public ServicePortMappingItem(ServicePortMappingItem 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
-
getPort
public Long getPort()
Get 应用访问端口 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Port 应用访问端口 注意:此字段可能返回 null,表示取不到有效值。
-
setPort
public void setPort(Long Port)
Set 应用访问端口 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Port- 应用访问端口 注意:此字段可能返回 null,表示取不到有效值。
-
getTargetPort
public Long getTargetPort()
Get 应用监听端口 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TargetPort 应用监听端口 注意:此字段可能返回 null,表示取不到有效值。
-
setTargetPort
public void setTargetPort(Long TargetPort)
Set 应用监听端口 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TargetPort- 应用监听端口 注意:此字段可能返回 null,表示取不到有效值。
-
getProtocol
public String getProtocol()
Get 协议类型 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Protocol 协议类型 注意:此字段可能返回 null,表示取不到有效值。
-
setProtocol
public void setProtocol(String Protocol)
Set 协议类型 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Protocol- 协议类型 注意:此字段可能返回 null,表示取不到有效值。
-
-