public static class VpnGatewayStatusVpnConnection.Builder extends Object
Modifier and Type | Method and Description |
---|---|
VpnGatewayStatusVpnConnection.Builder |
addAllTunnels(List<VpnGatewayStatusTunnel> tunnels)
List of VPN tunnels that are in this VPN connection.
|
VpnGatewayStatusVpnConnection.Builder |
addTunnels(VpnGatewayStatusTunnel tunnels)
List of VPN tunnels that are in this VPN connection.
|
VpnGatewayStatusVpnConnection |
build() |
VpnGatewayStatusVpnConnection.Builder |
clone() |
String |
getPeerExternalGateway()
URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN
connection are connected.
|
String |
getPeerGcpGateway()
URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection
are connected.
|
VpnGatewayStatusHighAvailabilityRequirementState |
getState()
HighAvailabilityRequirementState for the VPN connection.
|
List<VpnGatewayStatusTunnel> |
getTunnelsList()
List of VPN tunnels that are in this VPN connection.
|
VpnGatewayStatusVpnConnection.Builder |
mergeFrom(VpnGatewayStatusVpnConnection other) |
VpnGatewayStatusVpnConnection.Builder |
setPeerExternalGateway(String peerExternalGateway)
URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN
connection are connected.
|
VpnGatewayStatusVpnConnection.Builder |
setPeerGcpGateway(String peerGcpGateway)
URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection
are connected.
|
VpnGatewayStatusVpnConnection.Builder |
setState(VpnGatewayStatusHighAvailabilityRequirementState state)
HighAvailabilityRequirementState for the VPN connection.
|
public VpnGatewayStatusVpnConnection.Builder mergeFrom(VpnGatewayStatusVpnConnection other)
public String getPeerExternalGateway()
public VpnGatewayStatusVpnConnection.Builder setPeerExternalGateway(String peerExternalGateway)
public String getPeerGcpGateway()
public VpnGatewayStatusVpnConnection.Builder setPeerGcpGateway(String peerGcpGateway)
public VpnGatewayStatusHighAvailabilityRequirementState getState()
public VpnGatewayStatusVpnConnection.Builder setState(VpnGatewayStatusHighAvailabilityRequirementState state)
public List<VpnGatewayStatusTunnel> getTunnelsList()
public VpnGatewayStatusVpnConnection.Builder addAllTunnels(List<VpnGatewayStatusTunnel> tunnels)
public VpnGatewayStatusVpnConnection.Builder addTunnels(VpnGatewayStatusTunnel tunnels)
public VpnGatewayStatusVpnConnection build()
public VpnGatewayStatusVpnConnection.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.