public class ServicePortMappingItem extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Long |
getPort()
Get 应用访问端口
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getProtocol()
Get 协议类型
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getTargetPort()
Get 应用监听端口
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setPort(Long Port)
Set 应用访问端口
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setProtocol(String Protocol)
Set 协议类型
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTargetPort(Long TargetPort)
Set 应用监听端口
注意:此字段可能返回 null,表示取不到有效值。
|
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 ServicePortMappingItem()
public ServicePortMappingItem(ServicePortMappingItem source)
public Long getPort()
public void setPort(Long Port)
Port
- 应用访问端口
注意:此字段可能返回 null,表示取不到有效值。public Long getTargetPort()
public void setTargetPort(Long TargetPort)
TargetPort
- 应用监听端口
注意:此字段可能返回 null,表示取不到有效值。public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- 协议类型
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.