public static final class ModifyVpnAttachmentAttributeResponseBody.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
ModifyVpnAttachmentAttributeResponseBody.Builder |
attachInstanceId(String attachInstanceId)
The ID of the Cloud Enterprise Network (CEN) instance to which the transit router associated with the IPsec-VPN connection belongs.
|
ModifyVpnAttachmentAttributeResponseBody.Builder |
attachType(String attachType)
The type of the resource that is associated with the IPsec-VPN connection.
|
ModifyVpnAttachmentAttributeResponseBody |
build() |
ModifyVpnAttachmentAttributeResponseBody.Builder |
createTime(Long createTime)
The timestamp generated when the IPsec-VPN connection was established.
|
ModifyVpnAttachmentAttributeResponseBody.Builder |
customerGatewayId(String customerGatewayId)
The ID of the customer gateway associated with the IPsec-VPN connection.
|
ModifyVpnAttachmentAttributeResponseBody.Builder |
description(String description)
The description of the IPsec-VPN connection.
|
ModifyVpnAttachmentAttributeResponseBody.Builder |
effectImmediately(Boolean effectImmediately)
Indicates whether IPsec negotiations immediately start after the configuration takes effect.
|
ModifyVpnAttachmentAttributeResponseBody.Builder |
enableDpd(Boolean enableDpd)
Indicates whether the DPD feature is enabled for the IPsec-VPN connection.
|
ModifyVpnAttachmentAttributeResponseBody.Builder |
enableNatTraversal(Boolean enableNatTraversal)
Indicates whether NAT traversal is enabled for the IPsec-VPN connection.
|
ModifyVpnAttachmentAttributeResponseBody.Builder |
ikeConfig(ModifyVpnAttachmentAttributeResponseBody.IkeConfig ikeConfig)
The configuration of Phase 1 negotiations.
|
ModifyVpnAttachmentAttributeResponseBody.Builder |
ipsecConfig(ModifyVpnAttachmentAttributeResponseBody.IpsecConfig ipsecConfig)
The configuration of Phase 2 negotiations.
|
ModifyVpnAttachmentAttributeResponseBody.Builder |
localSubnet(String localSubnet)
The CIDR block of the VPC with which the data center can communicate.
|
ModifyVpnAttachmentAttributeResponseBody.Builder |
name(String name)
The name of the IPsec-VPN connection.
|
ModifyVpnAttachmentAttributeResponseBody.Builder |
networkType(String networkType)
The network type of the IPsec-VPN connection.
|
ModifyVpnAttachmentAttributeResponseBody.Builder |
remoteSubnet(String remoteSubnet)
The CIDR block of the data center with which the VPC can communicate.
|
ModifyVpnAttachmentAttributeResponseBody.Builder |
requestId(String requestId)
The request ID.
|
ModifyVpnAttachmentAttributeResponseBody.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group to which the IPsec-VPN connection belongs.
|
ModifyVpnAttachmentAttributeResponseBody.Builder |
spec(String spec)
The bandwidth specification of the IPsec-VPN connection.
|
ModifyVpnAttachmentAttributeResponseBody.Builder |
status(String status)
The state of the IPsec-VPN connection.
|
ModifyVpnAttachmentAttributeResponseBody.Builder |
vcoHealthCheck(ModifyVpnAttachmentAttributeResponseBody.VcoHealthCheck vcoHealthCheck)
The health check configuration of the IPsec-VPN connection.
|
ModifyVpnAttachmentAttributeResponseBody.Builder |
vpnBgpConfig(ModifyVpnAttachmentAttributeResponseBody.VpnBgpConfig vpnBgpConfig)
The BGP configuration of the IPsec-VPN connection.
|
ModifyVpnAttachmentAttributeResponseBody.Builder |
vpnConnectionId(String vpnConnectionId)
The ID of the IPsec-VPN connection.
|
ModifyVpnAttachmentAttributeResponseBody.Builder |
vpnGatewayId(String vpnGatewayId)
The ID of the VPN gateway associated with the IPsec-VPN connection.
|
public ModifyVpnAttachmentAttributeResponseBody.Builder attachInstanceId(String attachInstanceId)
public ModifyVpnAttachmentAttributeResponseBody.Builder attachType(String attachType)
* **CEN**: The IPsec-VPN connection is associated with a transit router. * **VPNGW**: The IPsec-VPN connection is associated with a VPN gateway. * **NO_ASSOCIATED**: The IPsec-VPN connection is not associated with any resource.
public ModifyVpnAttachmentAttributeResponseBody.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 ModifyVpnAttachmentAttributeResponseBody.Builder customerGatewayId(String customerGatewayId)
public ModifyVpnAttachmentAttributeResponseBody.Builder description(String description)
public ModifyVpnAttachmentAttributeResponseBody.Builder effectImmediately(Boolean effectImmediately)
* **true** * **false**
public ModifyVpnAttachmentAttributeResponseBody.Builder enableDpd(Boolean enableDpd)
* **true** * **false**
public ModifyVpnAttachmentAttributeResponseBody.Builder enableNatTraversal(Boolean enableNatTraversal)
* **true** * **false**
public ModifyVpnAttachmentAttributeResponseBody.Builder ikeConfig(ModifyVpnAttachmentAttributeResponseBody.IkeConfig ikeConfig)
public ModifyVpnAttachmentAttributeResponseBody.Builder ipsecConfig(ModifyVpnAttachmentAttributeResponseBody.IpsecConfig ipsecConfig)
public ModifyVpnAttachmentAttributeResponseBody.Builder localSubnet(String localSubnet)
public ModifyVpnAttachmentAttributeResponseBody.Builder name(String name)
public ModifyVpnAttachmentAttributeResponseBody.Builder networkType(String networkType)
* **public**: an encrypted connection over the Internet * **private**: an encrypted connection over private networks
public ModifyVpnAttachmentAttributeResponseBody.Builder remoteSubnet(String remoteSubnet)
public ModifyVpnAttachmentAttributeResponseBody.Builder requestId(String requestId)
public ModifyVpnAttachmentAttributeResponseBody.Builder resourceGroupId(String resourceGroupId)
You can call the [ListResourceGroups](~~158855~~) operation to query resource groups.
public ModifyVpnAttachmentAttributeResponseBody.Builder spec(String spec)
A value of **M** in the response indicates **Mbit/s**.
public ModifyVpnAttachmentAttributeResponseBody.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 ModifyVpnAttachmentAttributeResponseBody.Builder vcoHealthCheck(ModifyVpnAttachmentAttributeResponseBody.VcoHealthCheck vcoHealthCheck)
public ModifyVpnAttachmentAttributeResponseBody.Builder vpnBgpConfig(ModifyVpnAttachmentAttributeResponseBody.VpnBgpConfig vpnBgpConfig)
public ModifyVpnAttachmentAttributeResponseBody.Builder vpnConnectionId(String vpnConnectionId)
public ModifyVpnAttachmentAttributeResponseBody.Builder vpnGatewayId(String vpnGatewayId)
public ModifyVpnAttachmentAttributeResponseBody build()
Copyright © 2024. All rights reserved.