public class CheckNetDetectStateRequest extends AbstractModel
Constructor and Description |
---|
CheckNetDetectStateRequest() |
CheckNetDetectStateRequest(CheckNetDetectStateRequest 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 |
getNetDetectId()
Get ID of a network inspector instance, e.g.
|
String |
getNetDetectName()
Get The name of a network inspector, up to 60 bytes in length.
|
String |
getNextHopDestination()
Get The next-hop destination gateway.
|
String |
getNextHopType()
Get The type of the next hop.
|
String |
getSubnetId()
Get ID of a subnet instance, e.g.
|
String |
getVpcId()
Get ID of a `VPC` instance, e.g.
|
void |
setDetectDestinationIp(String[] DetectDestinationIp)
Set The array of detection destination IPv4 addresses, which contains at most two IP addresses.
|
void |
setNetDetectId(String NetDetectId)
Set ID of a network inspector instance, e.g.
|
void |
setNetDetectName(String NetDetectName)
Set The name of a network inspector, up to 60 bytes in length.
|
void |
setNextHopDestination(String NextHopDestination)
Set The next-hop destination gateway.
|
void |
setNextHopType(String NextHopType)
Set The type of the next hop.
|
void |
setSubnetId(String SubnetId)
Set ID of a subnet instance, e.g.
|
void |
setVpcId(String VpcId)
Set ID of a `VPC` instance, e.g.
|
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 CheckNetDetectStateRequest()
public CheckNetDetectStateRequest(CheckNetDetectStateRequest source)
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
- The type of the next hop. Currently supported types are:
VPN: VPN gateway;
DIRECTCONNECT: direct connect gateway;
PEERCONNECTION: peering connection;
NAT: NAT gateway;
NORMAL_CVM: normal CVM.public String getNextHopDestination()
public void setNextHopDestination(String NextHopDestination)
NextHopDestination
- The next-hop destination gateway. The value is related to NextHopType.
If NextHopType is set to VPN, the value of this parameter is the VPN gateway ID, such as vpngw-12345678.
If NextHopType is set to DIRECTCONNECT, the value of this parameter is the direct connect gateway ID, such as dcg-12345678.
If NextHopType is set to PEERCONNECTION, the value of this parameter is the peering connection ID, such as pcx-12345678.
If NextHopType is set to NAT, the value of this parameter is the 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.public String getNetDetectId()
public void setNetDetectId(String NetDetectId)
NetDetectId
- ID of a network inspector instance, e.g. netd-12345678. Enter at least one of this parameter, VpcId, SubnetId, and NetDetectName. Use NetDetectId if it is present.public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- ID of a `VPC` instance, e.g. `vpc-12345678`, which is used together with SubnetId and NetDetectName. You should enter either this parameter or NetDetectId, or both. Use NetDetectId if it is present.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- ID of a subnet instance, e.g. `subnet-12345678`, which is used together with VpcId and NetDetectName. You should enter either this parameter or NetDetectId, or both. Use NetDetectId if it is present.public String getNetDetectName()
public void setNetDetectName(String NetDetectName)
NetDetectName
- The name of a network inspector, up to 60 bytes in length. It is used together with VpcId and NetDetectName. You should enter either this parameter or NetDetectId, or both. Use NetDetectId if it is present.Copyright © 2023. All rights reserved.