Class InboundPermission
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.gse.v20191112.models.InboundPermission
-
public class InboundPermission extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description InboundPermission()InboundPermission(InboundPermission 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 LonggetFromPort()Get 起始端口号,最小值1025StringgetIpRange()Get IP 段范围,合法的 CIDR 地址类型,如所有IPv4来源:0.0.0.0/0StringgetProtocol()Get 协议类型:TCP或者UDPLonggetToPort()Get 终止端口号,最大值60000voidsetFromPort(Long FromPort)Set 起始端口号,最小值1025voidsetIpRange(String IpRange)Set IP 段范围,合法的 CIDR 地址类型,如所有IPv4来源:0.0.0.0/0voidsetProtocol(String Protocol)Set 协议类型:TCP或者UDPvoidsetToPort(Long ToPort)Set 终止端口号,最大值60000voidtoMap(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
-
InboundPermission
public InboundPermission()
-
InboundPermission
public InboundPermission(InboundPermission 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
-
getFromPort
public Long getFromPort()
Get 起始端口号,最小值1025- Returns:
- FromPort 起始端口号,最小值1025
-
setFromPort
public void setFromPort(Long FromPort)
Set 起始端口号,最小值1025- Parameters:
FromPort- 起始端口号,最小值1025
-
getIpRange
public String getIpRange()
Get IP 段范围,合法的 CIDR 地址类型,如所有IPv4来源:0.0.0.0/0- Returns:
- IpRange IP 段范围,合法的 CIDR 地址类型,如所有IPv4来源:0.0.0.0/0
-
setIpRange
public void setIpRange(String IpRange)
Set IP 段范围,合法的 CIDR 地址类型,如所有IPv4来源:0.0.0.0/0- Parameters:
IpRange- IP 段范围,合法的 CIDR 地址类型,如所有IPv4来源:0.0.0.0/0
-
getProtocol
public String getProtocol()
Get 协议类型:TCP或者UDP- Returns:
- Protocol 协议类型:TCP或者UDP
-
setProtocol
public void setProtocol(String Protocol)
Set 协议类型:TCP或者UDP- Parameters:
Protocol- 协议类型:TCP或者UDP
-
getToPort
public Long getToPort()
Get 终止端口号,最大值60000- Returns:
- ToPort 终止端口号,最大值60000
-
setToPort
public void setToPort(Long ToPort)
Set 终止端口号,最大值60000- Parameters:
ToPort- 终止端口号,最大值60000
-
-