Class NetDetectIpState
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vpc.v20170312.models.NetDetectIpState
-
public class NetDetectIpState extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description NetDetectIpState()NetDetectIpState(NetDetectIpState 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 LonggetDelay()Get 时延,单位毫秒StringgetDetectDestinationIp()Get 探测目的IPv4地址。LonggetPacketLossRate()Get 丢包率LonggetState()Get 探测结果。 0:成功; -1:查询不到路由丢包; -2:外出ACL丢包; -3:IN ACL丢包; -4:其他错误;voidsetDelay(Long Delay)Set 时延,单位毫秒voidsetDetectDestinationIp(String DetectDestinationIp)Set 探测目的IPv4地址。voidsetPacketLossRate(Long PacketLossRate)Set 丢包率voidsetState(Long State)Set 探测结果。 0:成功; -1:查询不到路由丢包; -2:外出ACL丢包; -3:IN ACL丢包; -4:其他错误;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
-
NetDetectIpState
public NetDetectIpState()
-
NetDetectIpState
public NetDetectIpState(NetDetectIpState 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
-
getDetectDestinationIp
public String getDetectDestinationIp()
Get 探测目的IPv4地址。- Returns:
- DetectDestinationIp 探测目的IPv4地址。
-
setDetectDestinationIp
public void setDetectDestinationIp(String DetectDestinationIp)
Set 探测目的IPv4地址。- Parameters:
DetectDestinationIp- 探测目的IPv4地址。
-
getState
public Long getState()
Get 探测结果。 0:成功; -1:查询不到路由丢包; -2:外出ACL丢包; -3:IN ACL丢包; -4:其他错误;- Returns:
- State 探测结果。 0:成功; -1:查询不到路由丢包; -2:外出ACL丢包; -3:IN ACL丢包; -4:其他错误;
-
setState
public void setState(Long State)
Set 探测结果。 0:成功; -1:查询不到路由丢包; -2:外出ACL丢包; -3:IN ACL丢包; -4:其他错误;- Parameters:
State- 探测结果。 0:成功; -1:查询不到路由丢包; -2:外出ACL丢包; -3:IN ACL丢包; -4:其他错误;
-
getDelay
public Long getDelay()
Get 时延,单位毫秒- Returns:
- Delay 时延,单位毫秒
-
setDelay
public void setDelay(Long Delay)
Set 时延,单位毫秒- Parameters:
Delay- 时延,单位毫秒
-
getPacketLossRate
public Long getPacketLossRate()
Get 丢包率- Returns:
- PacketLossRate 丢包率
-
setPacketLossRate
public void setPacketLossRate(Long PacketLossRate)
Set 丢包率- Parameters:
PacketLossRate- 丢包率
-
-