Class Ip6RuleInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vpc.v20170312.models.Ip6RuleInfo
-
public class Ip6RuleInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description Ip6RuleInfo()Ip6RuleInfo(Ip6RuleInfo 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 StringgetProtocol()Get 协议类型,支持TCP/UDPStringgetVip()Get IPV4地址LonggetVport()Get IPV4端口号,可在0~65535范围取值LonggetVport6()Get IPV6端口号,可在0~65535范围取值voidsetProtocol(String Protocol)Set 协议类型,支持TCP/UDPvoidsetVip(String Vip)Set IPV4地址voidsetVport(Long Vport)Set IPV4端口号,可在0~65535范围取值voidsetVport6(Long Vport6)Set IPV6端口号,可在0~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
-
Ip6RuleInfo
public Ip6RuleInfo()
-
Ip6RuleInfo
public Ip6RuleInfo(Ip6RuleInfo 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
-
getVport6
public Long getVport6()
Get IPV6端口号,可在0~65535范围取值- Returns:
- Vport6 IPV6端口号,可在0~65535范围取值
-
setVport6
public void setVport6(Long Vport6)
Set IPV6端口号,可在0~65535范围取值- Parameters:
Vport6- IPV6端口号,可在0~65535范围取值
-
getProtocol
public String getProtocol()
Get 协议类型,支持TCP/UDP- Returns:
- Protocol 协议类型,支持TCP/UDP
-
setProtocol
public void setProtocol(String Protocol)
Set 协议类型,支持TCP/UDP- Parameters:
Protocol- 协议类型,支持TCP/UDP
-
getVip
public String getVip()
Get IPV4地址- Returns:
- Vip IPV4地址
-
setVip
public void setVip(String Vip)
Set IPV4地址- Parameters:
Vip- IPV4地址
-
getVport
public Long getVport()
Get IPV4端口号,可在0~65535范围取值- Returns:
- Vport IPV4端口号,可在0~65535范围取值
-
setVport
public void setVport(Long Vport)
Set IPV4端口号,可在0~65535范围取值- Parameters:
Vport- IPV4端口号,可在0~65535范围取值
-
-