public static final class DescribeVpnConnectionResponseBody.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
DescribeVpnConnectionResponseBody.Builder |
attachInstanceId(String attachInstanceId)
The ID of the CEN instance to which the transit router belongs.
|
DescribeVpnConnectionResponseBody.Builder |
attachType(String attachType)
The type of the resource that is associated with the IPsec-VPN connection.
|
DescribeVpnConnectionResponseBody |
build() |
DescribeVpnConnectionResponseBody.Builder |
createTime(Long createTime)
The timestamp generated when the IPsec-VPN connection was established.
|
DescribeVpnConnectionResponseBody.Builder |
crossAccountAuthorized(Boolean crossAccountAuthorized)
Indicates whether the IPsec-VPN connection is associated with a transit router that belongs to another Alibaba Cloud account.
|
DescribeVpnConnectionResponseBody.Builder |
customerGatewayId(String customerGatewayId)
The ID of the customer gateway associated with the IPsec-VPN connection.
|
DescribeVpnConnectionResponseBody.Builder |
effectImmediately(Boolean effectImmediately)
Indicates whether IPsec negotiations immediately start after the configuration takes effect.
|
DescribeVpnConnectionResponseBody.Builder |
enableDpd(Boolean enableDpd)
Indicates whether the dead peer detection (DPD) feature is enabled for the IPsec-VPN connection.
|
DescribeVpnConnectionResponseBody.Builder |
enableNatTraversal(Boolean enableNatTraversal)
Indicates whether NAT traversal is enabled for the IPsec-VPN connection.
|
DescribeVpnConnectionResponseBody.Builder |
enableTunnelsBgp(Boolean enableTunnelsBgp)
Indicates whether BGP is enabled for the tunnel.
|
DescribeVpnConnectionResponseBody.Builder |
ikeConfig(DescribeVpnConnectionResponseBody.IkeConfig ikeConfig)
The configuration of Phase 1 negotiations.
|
DescribeVpnConnectionResponseBody.Builder |
internetIp(String internetIp)
The gateway IP address of the IPsec-VPN connection.
|
DescribeVpnConnectionResponseBody.Builder |
ipsecConfig(DescribeVpnConnectionResponseBody.IpsecConfig ipsecConfig)
The configuration of Phase 2 negotiations.
|
DescribeVpnConnectionResponseBody.Builder |
localSubnet(String localSubnet)
The CIDR block on the Alibaba Cloud side.
|
DescribeVpnConnectionResponseBody.Builder |
name(String name)
The name of the IPsec-VPN connection.
|
DescribeVpnConnectionResponseBody.Builder |
networkType(String networkType)
The network type of the IPsec-VPN connection.
|
DescribeVpnConnectionResponseBody.Builder |
remoteCaCertificate(String remoteCaCertificate)
The certificate authority (CA) certificate of the peer.
|
DescribeVpnConnectionResponseBody.Builder |
remoteSubnet(String remoteSubnet)
The CIDR block on the data center side.
|
DescribeVpnConnectionResponseBody.Builder |
requestId(String requestId)
The request ID.
|
DescribeVpnConnectionResponseBody.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group to which the IPsec-VPN connection belongs.
|
DescribeVpnConnectionResponseBody.Builder |
spec(String spec)
The bandwidth specification of the IPsec-VPN connection.
|
DescribeVpnConnectionResponseBody.Builder |
state(String state)
The association state of the IPsec-VPN connection.
|
DescribeVpnConnectionResponseBody.Builder |
status(String status)
The state of the IPsec-VPN connection.
|
DescribeVpnConnectionResponseBody.Builder |
tags(DescribeVpnConnectionResponseBody.Tags tags)
The list of tags added to the IPsec-VPN connection.
|
DescribeVpnConnectionResponseBody.Builder |
transitRouterId(String transitRouterId)
The ID of the transit router with which the IPsec-VPN connection is associated.
|
DescribeVpnConnectionResponseBody.Builder |
transitRouterName(String transitRouterName)
The name of the transit router.
|
DescribeVpnConnectionResponseBody.Builder |
tunnelOptionsSpecification(DescribeVpnConnectionResponseBody.TunnelOptionsSpecification tunnelOptionsSpecification)
The tunnel configuration of the IPsec-VPN connection.
|
DescribeVpnConnectionResponseBody.Builder |
vcoHealthCheck(DescribeVpnConnectionResponseBody.VcoHealthCheck vcoHealthCheck)
The health check information about the IPsec-VPN connection.
|
DescribeVpnConnectionResponseBody.Builder |
vpnBgpConfig(DescribeVpnConnectionResponseBody.VpnBgpConfig vpnBgpConfig)
The Border Gateway Protocol (BGP) configuration of the IPsec-VPN connection.
|
DescribeVpnConnectionResponseBody.Builder |
vpnConnectionId(String vpnConnectionId)
The ID of the IPsec-VPN connection.
|
DescribeVpnConnectionResponseBody.Builder |
vpnGatewayId(String vpnGatewayId)
The ID of the VPN gateway.
|
DescribeVpnConnectionResponseBody.Builder |
zoneNo(String zoneNo)
The ID of the zone where the IPsec-VPN connection is deployed.
|
public DescribeVpnConnectionResponseBody.Builder attachInstanceId(String attachInstanceId)
public DescribeVpnConnectionResponseBody.Builder attachType(String attachType)
* **CEN**: indicates that the IPsec-VPN connection is associated with a transit router of a Cloud Enterprise Network (CEN) instance. * **NO_ASSOCIATED**: indicates that the IPsec-VPN connection is not associated with any resource. * **VPNGW**: indicates that the IPsec-VPN connection is associated with a VPN gateway.
public DescribeVpnConnectionResponseBody.Builder createTime(Long createTime)
This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.
public DescribeVpnConnectionResponseBody.Builder crossAccountAuthorized(Boolean crossAccountAuthorized)
* **true** * **false**
public DescribeVpnConnectionResponseBody.Builder customerGatewayId(String customerGatewayId)
public DescribeVpnConnectionResponseBody.Builder effectImmediately(Boolean effectImmediately)
* **true**: Negotiations are reinitiated after the configuration is changed. * **false**: Negotiations are reinitiated after traffic is detected.
public DescribeVpnConnectionResponseBody.Builder enableDpd(Boolean enableDpd)
* **false** * **true** After you enable the DPD feature, the initiator of the IPsec-VPN connection sends DPD packets to check the existence and availability of the peer. If no response is received from the peer within a specified period of time, the connection fails. Then, the ISAKMP security association (SA), IPsec SA, and IPsec tunnel are deleted.
public DescribeVpnConnectionResponseBody.Builder enableNatTraversal(Boolean enableNatTraversal)
* **true** * **false** After NAT traversal is enabled, the initiator does not check the UDP ports during IKE negotiations and can automatically discover NAT gateway devices along the IPsec tunnel.
public DescribeVpnConnectionResponseBody.Builder enableTunnelsBgp(Boolean enableTunnelsBgp)
* **true** * **false**
public DescribeVpnConnectionResponseBody.Builder ikeConfig(DescribeVpnConnectionResponseBody.IkeConfig ikeConfig)
public DescribeVpnConnectionResponseBody.Builder internetIp(String internetIp)
public DescribeVpnConnectionResponseBody.Builder ipsecConfig(DescribeVpnConnectionResponseBody.IpsecConfig ipsecConfig)
public DescribeVpnConnectionResponseBody.Builder localSubnet(String localSubnet)
Multiple CIDR blocks are separated by commas (,).
public DescribeVpnConnectionResponseBody.Builder name(String name)
public DescribeVpnConnectionResponseBody.Builder networkType(String networkType)
* **public**: an encrypted connection over the Internet * **private**: an encrypted connection over private networks
public DescribeVpnConnectionResponseBody.Builder remoteCaCertificate(String remoteCaCertificate)
public DescribeVpnConnectionResponseBody.Builder remoteSubnet(String remoteSubnet)
Multiple CIDR blocks are separated by commas (,).
public DescribeVpnConnectionResponseBody.Builder requestId(String requestId)
public DescribeVpnConnectionResponseBody.Builder resourceGroupId(String resourceGroupId)
You can call the [ListResourceGroups](~~158855~~) operation to query the resource group information.
public DescribeVpnConnectionResponseBody.Builder spec(String spec)
public DescribeVpnConnectionResponseBody.Builder state(String state)
* **active**: The IPsec-VPN connection is associated with a VPN gateway. * **init**: The IPsec-VPN connection is not associated with any resource and is being initialized. * **attaching**: The IPsec-VPN connection is being associated with a transit router. * **attached**: The IPsec-VPN connection is associated with a transit router. * **detaching**: The IPsec-VPN connection is being disassociated from a transit router. * **financialLocked**: The IPsec-VPN connection is locked due to overdue payments. * **provisioning**: The IPsec-VPN connection is being prepared. * **updating**: The IPsec-VPN connection is being updated. * **Upgrading**: The IPsec-VPN connection is being upgraded. * **deleted**: The IPsec-VPN connection is deleted.
public DescribeVpnConnectionResponseBody.Builder status(String status)
* **ike_sa_not_established**: Phase 1 negotiations failed. * **ike_sa_established**: Phase 1 negotiations succeeded. * **ipsec_sa_not_established**: Phase 2 negotiations failed. * **ipsec_sa_established**: Phase 2 negotiations succeeded.
public DescribeVpnConnectionResponseBody.Builder tags(DescribeVpnConnectionResponseBody.Tags tags)
public DescribeVpnConnectionResponseBody.Builder transitRouterId(String transitRouterId)
public DescribeVpnConnectionResponseBody.Builder transitRouterName(String transitRouterName)
public DescribeVpnConnectionResponseBody.Builder tunnelOptionsSpecification(DescribeVpnConnectionResponseBody.TunnelOptionsSpecification tunnelOptionsSpecification)
Parameters in **TunnelOptionsSpecification** are returned only if you query IPsec-VPN connections in dual-tunnel mode.
public DescribeVpnConnectionResponseBody.Builder vcoHealthCheck(DescribeVpnConnectionResponseBody.VcoHealthCheck vcoHealthCheck)
public DescribeVpnConnectionResponseBody.Builder vpnBgpConfig(DescribeVpnConnectionResponseBody.VpnBgpConfig vpnBgpConfig)
public DescribeVpnConnectionResponseBody.Builder vpnConnectionId(String vpnConnectionId)
public DescribeVpnConnectionResponseBody.Builder vpnGatewayId(String vpnGatewayId)
public DescribeVpnConnectionResponseBody.Builder zoneNo(String zoneNo)
You can call [DescribeZones](~~36064~~) to query zone IDs and mapping between zone IDs and zone names.
public DescribeVpnConnectionResponseBody build()
Copyright © 2024. All rights reserved.