Class PortSegment
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.antiddos.v20200309.models.PortSegment
-
public class PortSegment extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetBeginPort()Get 起始端口,取值1~65535LonggetEndPort()Get 结束端口,取值1~65535,必须不小于起始端口voidsetBeginPort(Long BeginPort)Set 起始端口,取值1~65535voidsetEndPort(Long EndPort)Set 结束端口,取值1~65535,必须不小于起始端口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
-
PortSegment
public PortSegment()
-
PortSegment
public 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.
-
-
Method Detail
-
getBeginPort
public Long getBeginPort()
Get 起始端口,取值1~65535- Returns:
- BeginPort 起始端口,取值1~65535
-
setBeginPort
public void setBeginPort(Long BeginPort)
Set 起始端口,取值1~65535- Parameters:
BeginPort- 起始端口,取值1~65535
-
getEndPort
public Long getEndPort()
Get 结束端口,取值1~65535,必须不小于起始端口- Returns:
- EndPort 结束端口,取值1~65535,必须不小于起始端口
-
setEndPort
public void setEndPort(Long EndPort)
Set 结束端口,取值1~65535,必须不小于起始端口- Parameters:
EndPort- 结束端口,取值1~65535,必须不小于起始端口
-
-