public static final class ModifyVpnGatewayAttributeResponseBody.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
ModifyVpnGatewayAttributeResponseBody.Builder |
autoPropagate(Boolean autoPropagate)
Indicates whether BGP routes are automatically advertised to the VPC.
|
ModifyVpnGatewayAttributeResponseBody |
build() |
ModifyVpnGatewayAttributeResponseBody.Builder |
businessStatus(String businessStatus)
The payment status of the VPN gateway.
|
ModifyVpnGatewayAttributeResponseBody.Builder |
createTime(Long createTime)
The time when the VPN gateway was created.
|
ModifyVpnGatewayAttributeResponseBody.Builder |
description(String description)
The description of the VPN gateway.
|
ModifyVpnGatewayAttributeResponseBody.Builder |
disasterRecoveryInternetIp(String disasterRecoveryInternetIp)
The second IP address assigned by the system to create an IPsec-VPN connection.
|
ModifyVpnGatewayAttributeResponseBody.Builder |
disasterRecoveryVSwitchId(String disasterRecoveryVSwitchId)
The ID of the second vSwitch associated with the VPN gateway.
|
ModifyVpnGatewayAttributeResponseBody.Builder |
enableBgp(Boolean enableBgp)
Indicates whether BGP is enabled for the VPN gateway.
|
ModifyVpnGatewayAttributeResponseBody.Builder |
endTime(Long endTime)
The time when the VPN gateway expires.
|
ModifyVpnGatewayAttributeResponseBody.Builder |
internetIp(String internetIp)
* If the VPN gateway supports IPsec-VPN connections in single-tunnel mode, the address is the IP address of the VPN gateway and can be used to create an IPsec-VPN connection or an SSL-VPN connection.
|
ModifyVpnGatewayAttributeResponseBody.Builder |
intranetIp(String intranetIp)
The IP address of the VPN gateway.
|
ModifyVpnGatewayAttributeResponseBody.Builder |
name(String name)
The name of the VPN gateway.
|
ModifyVpnGatewayAttributeResponseBody.Builder |
requestId(String requestId)
The request ID.
|
ModifyVpnGatewayAttributeResponseBody.Builder |
resourceGroupId(String resourceGroupId)
VPN网关实例所属的资源组ID。
|
ModifyVpnGatewayAttributeResponseBody.Builder |
spec(String spec)
The maximum bandwidth of the VPN gateway.
|
ModifyVpnGatewayAttributeResponseBody.Builder |
sslVpnInternetIp(String sslVpnInternetIp)
The IP address of the SSL-VPN connection.
|
ModifyVpnGatewayAttributeResponseBody.Builder |
status(String status)
The status of the VPN gateway.
|
ModifyVpnGatewayAttributeResponseBody.Builder |
vpcId(String vpcId)
The ID of the VPC to which the VPN gateway belongs.
|
ModifyVpnGatewayAttributeResponseBody.Builder |
vpnGatewayId(String vpnGatewayId)
The ID of the VPN gateway.
|
ModifyVpnGatewayAttributeResponseBody.Builder |
vSwitchId(String vSwitchId)
The ID of the vSwitch associated with the VPN gateway.
|
public ModifyVpnGatewayAttributeResponseBody.Builder autoPropagate(Boolean autoPropagate)
* **true** * **false**
public ModifyVpnGatewayAttributeResponseBody.Builder businessStatus(String businessStatus)
* **Normal** * **FinancialLocked**
public ModifyVpnGatewayAttributeResponseBody.Builder createTime(Long createTime)
This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
public ModifyVpnGatewayAttributeResponseBody.Builder description(String description)
public ModifyVpnGatewayAttributeResponseBody.Builder disasterRecoveryInternetIp(String disasterRecoveryInternetIp)
This parameter is returned only when the VPN gateway supports the dual-tunnel mode.
public ModifyVpnGatewayAttributeResponseBody.Builder disasterRecoveryVSwitchId(String disasterRecoveryVSwitchId)
This parameter is returned only when the VPN gateway supports the dual-tunnel mode.
public ModifyVpnGatewayAttributeResponseBody.Builder enableBgp(Boolean enableBgp)
* **true** * **false**
public ModifyVpnGatewayAttributeResponseBody.Builder endTime(Long endTime)
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 ModifyVpnGatewayAttributeResponseBody.Builder internetIp(String internetIp)
* If the VPN gateway supports IPsec-VPN connections in dual-tunnel mode, the address is the first IP address used to create an IPsec-VPN connection. The address cannot be used to create an SSL-VPN connection. If the VPN gateway supports IPsec-VPN connections in dual-tunnel mode, the system assigns two IP addresses to the VPN gateway to create two encrypted tunnels.
public ModifyVpnGatewayAttributeResponseBody.Builder intranetIp(String intranetIp)
This parameter is returned only when the VPN gateway is a private VPN gateway and supports only the single-tunnel mode.
public ModifyVpnGatewayAttributeResponseBody.Builder name(String name)
public ModifyVpnGatewayAttributeResponseBody.Builder requestId(String requestId)
public ModifyVpnGatewayAttributeResponseBody.Builder resourceGroupId(String resourceGroupId)
您可以调用[ListResourceGroups](~~158855~~)接口查询资源组信息。
public ModifyVpnGatewayAttributeResponseBody.Builder spec(String spec)
public ModifyVpnGatewayAttributeResponseBody.Builder sslVpnInternetIp(String sslVpnInternetIp)
This parameter is returned only when the VPN gateway is a public VPN gateway and supports only the single-tunnel mode. In addition, the VPN gateway must have the SSL-VPN feature enabled.
public ModifyVpnGatewayAttributeResponseBody.Builder status(String status)
* **init** * **provisioning** * **active** * **updating** * **deleting**
public ModifyVpnGatewayAttributeResponseBody.Builder vSwitchId(String vSwitchId)
public ModifyVpnGatewayAttributeResponseBody.Builder vpcId(String vpcId)
public ModifyVpnGatewayAttributeResponseBody.Builder vpnGatewayId(String vpnGatewayId)
public ModifyVpnGatewayAttributeResponseBody build()
Copyright © 2024. All rights reserved.