public class ModifyNetDetectRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
ModifyNetDetectRequest()  | 
ModifyNetDetectRequest(ModifyNetDetectRequest 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[] | 
getDetectDestinationIp()
Get The array of detection destination IPv4 addresses, which contains at most two IP addresses. 
 | 
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 ID of the next-hop gateway. 
 | 
String | 
getNextHopType()
Get Type of the next hop. 
 | 
void | 
setDetectDestinationIp(String[] DetectDestinationIp)
Set The array of detection destination IPv4 addresses, which contains at most two IP addresses. 
 | 
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 ID of the next-hop gateway. 
 | 
void | 
setNextHopType(String NextHopType)
Set Type of the next hop. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ModifyNetDetectRequest()
public ModifyNetDetectRequest(ModifyNetDetectRequest source)
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 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`: CVM instance;
`CCN`: CCN instance;
`NONEXTHOP`: No next hop.public String getNextHopDestination()
public void setNextHopDestination(String NextHopDestination)
NextHopDestination - ID of the next-hop gateway.
If NextHopType is set to VPN, the value of this parameter is the VPN gateway ID, such as vpngw-12345678.
`NextHopType` = `DIRECTCONNECT`: Direct connect gateway ID, such as `dcg-12345678`.
`NextHopType` = `PEERCONNECTION`: Peering connection ID, such as `pcx-12345678`.
`NextHopType` = `NAT`: NAT gateway ID, such as `nat-12345678`.
If NextHopType is set to NORMAL_CVM, the value of this parameter is the IPv4 address of the CVM, such as 10.0.0.12.
`NextHopType` = `CCN`: CCN instance ID, such as `ccn-12345678`.
`NextHopType` = `NONEXTHOP`: No next hop.public String getNetDetectDescription()
public void setNetDetectDescription(String NetDetectDescription)
NetDetectDescription - Network detection description.Copyright © 2025. All rights reserved.