public class ServicePortMappingItem extends AbstractModel
header, skipSign| 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 Application access port
Note: This field may return `null`, indicating that no valid values can be obtained. | 
| String | getProtocol()Get Protocol type
Note: This field may return `null`, indicating that no valid values can be obtained. | 
| Long | getTargetPort()Get Application listening port
Note: This field may return `null`, indicating that no valid values can be obtained. | 
| void | setPort(Long Port)Set Application access port
Note: This field may return `null`, indicating that no valid values can be obtained. | 
| void | setProtocol(String Protocol)Set Protocol type
Note: This field may return `null`, indicating that no valid values can be obtained. | 
| void | setTargetPort(Long TargetPort)Set Application listening port
Note: This field may return `null`, indicating that no valid values can be obtained. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ServicePortMappingItem()
public ServicePortMappingItem(ServicePortMappingItem source)
public Long getPort()
public void setPort(Long Port)
Port - Application access port
Note: This field may return `null`, indicating that no valid values can be obtained.public Long getTargetPort()
public void setTargetPort(Long TargetPort)
TargetPort - Application listening port
Note: This field may return `null`, indicating that no valid values can be obtained.public String getProtocol()
public void setProtocol(String Protocol)
Protocol - Protocol type
Note: This field may return `null`, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.