public class PortSegment extends AbstractModel
header, skipSign
Constructor and Description |
---|
PortSegment() |
PortSegment(PortSegment 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 |
getBeginPort()
Get Start port.
|
Long |
getEndPort()
Get End port.
|
void |
setBeginPort(Long BeginPort)
Set Start port.
|
void |
setEndPort(Long EndPort)
Set End port.
|
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, toJsonString
public PortSegment()
public PortSegment(PortSegment source)
public Long getBeginPort()
public void setBeginPort(Long BeginPort)
BeginPort
- Start port. Value range: 1–65535.public Long getEndPort()
public void setEndPort(Long EndPort)
EndPort
- End port. The value should be in the range 1–65535 and cannot be less than that of the start port.Copyright © 2024. All rights reserved.