public class NetDetect extends AbstractModel
Constructor and Description |
---|
NetDetect() |
NetDetect(NetDetect 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 |
---|---|
String |
getCreateTime()
Get The creation time.
|
String[] |
getDetectDestinationIp()
Get The array of detection destination IPv4 addresses, which contains at most two IP addresses.
|
String[] |
getDetectSourceIp()
Get The array of detection source IPv4 addresses automatically allocated by the system.
|
String |
getNetDetectDescription()
Get Network detection description.
|
String |
getNetDetectId()
Get The ID of a network detection instance, such as netd-12345678.
|
String |
getNetDetectName()
Get The name of a network detection instance.
|
String |
getNextHopDestination()
Get Next-hop destination gateway.
|
String |
getNextHopName()
Get The name of the next-hop gateway.
|
String |
getNextHopType()
Get Type of the next hop.
|
String |
getSubnetId()
Get The ID of a subnet instance, such as subnet-12345678.
|
String |
getSubnetName()
Get The name of a subnet instance.
|
String |
getVpcId()
Get The ID of a VPC instance, such as `vpc-12345678`.
|
String |
getVpcName()
Get The name of a VPC instance.
|
void |
setCreateTime(String CreateTime)
Set The creation time.
|
void |
setDetectDestinationIp(String[] DetectDestinationIp)
Set The array of detection destination IPv4 addresses, which contains at most two IP addresses.
|
void |
setDetectSourceIp(String[] DetectSourceIp)
Set The array of detection source IPv4 addresses automatically allocated by the system.
|
void |
setNetDetectDescription(String NetDetectDescription)
Set Network detection description.
|
void |
setNetDetectId(String NetDetectId)
Set The ID of a network detection instance, such as netd-12345678.
|
void |
setNetDetectName(String NetDetectName)
Set The name of a network detection instance.
|
void |
setNextHopDestination(String NextHopDestination)
Set Next-hop destination gateway.
|
void |
setNextHopName(String NextHopName)
Set The name of the next-hop gateway.
|
void |
setNextHopType(String NextHopType)
Set Type of the next hop.
|
void |
setSubnetId(String SubnetId)
Set The ID of a subnet instance, such as subnet-12345678.
|
void |
setSubnetName(String SubnetName)
Set The name of a subnet instance.
|
void |
setVpcId(String VpcId)
Set The ID of a VPC instance, such as `vpc-12345678`.
|
void |
setVpcName(String VpcName)
Set The name of a VPC instance.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public NetDetect()
public NetDetect(NetDetect source)
public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- The ID of a VPC instance, such as `vpc-12345678`.public String getVpcName()
public void setVpcName(String VpcName)
VpcName
- The name of a VPC instance.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- The ID of a subnet instance, such as subnet-12345678.public String getSubnetName()
public void setSubnetName(String SubnetName)
SubnetName
- The name of a subnet instance.public String getNetDetectId()
public void setNetDetectId(String NetDetectId)
NetDetectId
- The ID of a network detection instance, such as netd-12345678.public String getNetDetectName()
public void setNetDetectName(String NetDetectName)
NetDetectName
- The name of a network detection instance. The maximum length is 60 characters.public String[] getDetectDestinationIp()
public void setDetectDestinationIp(String[] DetectDestinationIp)
DetectDestinationIp
- The array of detection destination IPv4 addresses, which contains at most two IP addresses.public String[] getDetectSourceIp()
public void setDetectSourceIp(String[] DetectSourceIp)
DetectSourceIp
- The array of detection source IPv4 addresses automatically allocated by the system. The length is 2.public String getNextHopType()
public void setNextHopType(String NextHopType)
NextHopType
- Type of the next hop. Valid values:
VPN: VPN gateway;
DIRECTCONNECT: direct connect gateway;
PEERCONNECTION: peering connection;
NAT: NAT gateway;
NORMAL_CVM: normal CVM.
CCN: CCN gateway.public String getNextHopDestination()
public void setNextHopDestination(String NextHopDestination)
NextHopDestination
- Next-hop destination gateway. Its value is determined by `NextHopType`.
If `NextHopType` is set to `VPN`, the parameter value is the VPN gateway ID, such as `vpngw-12345678`.
If `NextHopType` is set to `DIRECTCONNECT`, the parameter value is the direct connect gateway ID, such as `dcg-12345678`.
If `NextHopType` is set to `PEERCONNECTION`, the parameter value is the peering connection ID, such as `pcx-12345678`.
If `NextHopType` is set to `NAT`, the parameter value is the NAT gateway ID, such as `nat-12345678`.
If `NextHopType` is set to `NORMAL_CVM`, the parameter value is the IPv4 address of the CVM instance, such as `10.0.0.12`.
If `NextHopType` is set to `CCN`, the parameter value is the CCN ID, such as `ccn-12345678`.public String getNextHopName()
public void setNextHopName(String NextHopName)
NextHopName
- The name of the next-hop gateway.
Note: This field may return null, indicating that no valid values can be obtained.public String getNetDetectDescription()
public void setNetDetectDescription(String NetDetectDescription)
NetDetectDescription
- Network detection description.
Note: This field may return null, indicating that no valid values can be obtained.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- The creation time.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2021. All rights reserved.