public static final class DiagnoseVpnGatewayRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
DiagnoseVpnGatewayRequest |
build() |
DiagnoseVpnGatewayRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
DiagnoseVpnGatewayRequest.Builder |
iPsecExtendInfo(String iPsecExtendInfo)
The configuration when you check the connectivity of the IPsec-VPN connection.
|
DiagnoseVpnGatewayRequest.Builder |
regionId(String regionId)
The region ID of the VPN gateway.
|
DiagnoseVpnGatewayRequest.Builder |
resourceId(String resourceId)
The ID of the resource to be diagnosed.
|
DiagnoseVpnGatewayRequest.Builder |
resourceType(String resourceType)
The type of the resource.
|
DiagnoseVpnGatewayRequest.Builder |
vpnGatewayId(String vpnGatewayId)
The ID of the VPN gateway.
|
public DiagnoseVpnGatewayRequest.Builder clientToken(String clientToken)
You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters. > If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
public DiagnoseVpnGatewayRequest.Builder iPsecExtendInfo(String iPsecExtendInfo)
* **PrivateSourceIp**: the source IP address used when you check the connectivity of the IPsec-VPN connection. The source IP address must be on the VPC side. * **PrivateDestinationIp**: the destination IP address used when you check the connectivity of the IPsec-VPN connection. The destination IP address must be on the data center side.
public DiagnoseVpnGatewayRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public DiagnoseVpnGatewayRequest.Builder resourceId(String resourceId)
public DiagnoseVpnGatewayRequest.Builder resourceType(String resourceType)
Set the value to **Ipsec**, which specifies an IPsec-VPN connection.
public DiagnoseVpnGatewayRequest.Builder vpnGatewayId(String vpnGatewayId)
public DiagnoseVpnGatewayRequest build()
Copyright © 2024. All rights reserved.