Modifier and Type | Method and Description |
---|---|
VpnTunnel.Builder |
addAllLocalTrafficSelector(List<String> localTrafficSelector)
Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway.
|
VpnTunnel.Builder |
addAllRemoteTrafficSelector(List<String> remoteTrafficSelector)
Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway.
|
VpnTunnel.Builder |
addLocalTrafficSelector(String localTrafficSelector)
Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway.
|
VpnTunnel.Builder |
addRemoteTrafficSelector(String remoteTrafficSelector)
Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway.
|
VpnTunnel |
build() |
VpnTunnel.Builder |
clone() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
An optional description of this resource.
|
String |
getDetailedStatus()
[Output Only] Detailed status message for the VPN tunnel.
|
String |
getId()
[Output Only] The unique identifier for the resource.
|
Integer |
getIkeVersion()
IKE protocol version to use when establishing the VPN tunnel with the peer VPN gateway.
|
String |
getKind()
[Output Only] Type of resource.
|
List<String> |
getLocalTrafficSelectorList()
Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway.
|
String |
getName()
Name of the resource.
|
String |
getPeerExternalGateway()
URL of the peer side external VPN gateway to which this VPN tunnel is connected.
|
Integer |
getPeerExternalGatewayInterface()
The interface ID of the external VPN gateway to which this VPN tunnel is connected.
|
String |
getPeerGcpGateway()
URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected.
|
String |
getPeerIp()
IP address of the peer VPN gateway.
|
String |
getRegion()
[Output Only] URL of the region where the VPN tunnel resides.
|
List<String> |
getRemoteTrafficSelectorList()
Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway.
|
String |
getRouter()
URL of the router resource to be used for dynamic routing.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
String |
getSharedSecret()
Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN
gateway.
|
String |
getSharedSecretHash()
Hash of the shared secret.
|
String |
getStatus()
[Output Only] The status of the VPN tunnel, which can be one of the following: -
PROVISIONING: Resource is being allocated for the VPN tunnel.
|
String |
getTargetVpnGateway()
URL of the Target VPN gateway with which this VPN tunnel is associated.
|
String |
getVpnGateway()
URL of the VPN gateway with which this VPN tunnel is associated.
|
Integer |
getVpnGatewayInterface()
The interface ID of the VPN gateway with which this VPN tunnel is associated.
|
VpnTunnel.Builder |
mergeFrom(VpnTunnel other) |
VpnTunnel.Builder |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
VpnTunnel.Builder |
setDescription(String description)
An optional description of this resource.
|
VpnTunnel.Builder |
setDetailedStatus(String detailedStatus)
[Output Only] Detailed status message for the VPN tunnel.
|
VpnTunnel.Builder |
setId(String id)
[Output Only] The unique identifier for the resource.
|
VpnTunnel.Builder |
setIkeVersion(Integer ikeVersion)
IKE protocol version to use when establishing the VPN tunnel with the peer VPN gateway.
|
VpnTunnel.Builder |
setKind(String kind)
[Output Only] Type of resource.
|
VpnTunnel.Builder |
setName(String name)
Name of the resource.
|
VpnTunnel.Builder |
setPeerExternalGateway(String peerExternalGateway)
URL of the peer side external VPN gateway to which this VPN tunnel is connected.
|
VpnTunnel.Builder |
setPeerExternalGatewayInterface(Integer peerExternalGatewayInterface)
The interface ID of the external VPN gateway to which this VPN tunnel is connected.
|
VpnTunnel.Builder |
setPeerGcpGateway(String peerGcpGateway)
URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected.
|
VpnTunnel.Builder |
setPeerIp(String peerIp)
IP address of the peer VPN gateway.
|
VpnTunnel.Builder |
setRegion(String region)
[Output Only] URL of the region where the VPN tunnel resides.
|
VpnTunnel.Builder |
setRouter(String router)
URL of the router resource to be used for dynamic routing.
|
VpnTunnel.Builder |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
VpnTunnel.Builder |
setSharedSecret(String sharedSecret)
Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN
gateway.
|
VpnTunnel.Builder |
setSharedSecretHash(String sharedSecretHash)
Hash of the shared secret.
|
VpnTunnel.Builder |
setStatus(String status)
[Output Only] The status of the VPN tunnel, which can be one of the following: -
PROVISIONING: Resource is being allocated for the VPN tunnel.
|
VpnTunnel.Builder |
setTargetVpnGateway(String targetVpnGateway)
URL of the Target VPN gateway with which this VPN tunnel is associated.
|
VpnTunnel.Builder |
setVpnGateway(String vpnGateway)
URL of the VPN gateway with which this VPN tunnel is associated.
|
VpnTunnel.Builder |
setVpnGatewayInterface(Integer vpnGatewayInterface)
The interface ID of the VPN gateway with which this VPN tunnel is associated.
|
public VpnTunnel.Builder mergeFrom(VpnTunnel other)
public String getCreationTimestamp()
public VpnTunnel.Builder setCreationTimestamp(String creationTimestamp)
public String getDescription()
public VpnTunnel.Builder setDescription(String description)
public String getDetailedStatus()
public VpnTunnel.Builder setDetailedStatus(String detailedStatus)
public String getId()
public VpnTunnel.Builder setId(String id)
public Integer getIkeVersion()
public VpnTunnel.Builder setIkeVersion(Integer ikeVersion)
public String getKind()
public VpnTunnel.Builder setKind(String kind)
public List<String> getLocalTrafficSelectorList()
public VpnTunnel.Builder addAllLocalTrafficSelector(List<String> localTrafficSelector)
public VpnTunnel.Builder addLocalTrafficSelector(String localTrafficSelector)
public String getName()
public VpnTunnel.Builder setName(String name)
public String getPeerExternalGateway()
public VpnTunnel.Builder setPeerExternalGateway(String peerExternalGateway)
public Integer getPeerExternalGatewayInterface()
public VpnTunnel.Builder setPeerExternalGatewayInterface(Integer peerExternalGatewayInterface)
public String getPeerGcpGateway()
public VpnTunnel.Builder setPeerGcpGateway(String peerGcpGateway)
public String getPeerIp()
public VpnTunnel.Builder setPeerIp(String peerIp)
public String getRegion()
public VpnTunnel.Builder setRegion(String region)
public List<String> getRemoteTrafficSelectorList()
public VpnTunnel.Builder addAllRemoteTrafficSelector(List<String> remoteTrafficSelector)
public VpnTunnel.Builder addRemoteTrafficSelector(String remoteTrafficSelector)
public String getRouter()
public VpnTunnel.Builder setRouter(String router)
public String getSelfLink()
public VpnTunnel.Builder setSelfLink(String selfLink)
public String getSharedSecret()
public VpnTunnel.Builder setSharedSecret(String sharedSecret)
public String getSharedSecretHash()
public VpnTunnel.Builder setSharedSecretHash(String sharedSecretHash)
public String getStatus()
public VpnTunnel.Builder setStatus(String status)
public String getTargetVpnGateway()
public VpnTunnel.Builder setTargetVpnGateway(String targetVpnGateway)
public String getVpnGateway()
public VpnTunnel.Builder setVpnGateway(String vpnGateway)
public Integer getVpnGatewayInterface()
public VpnTunnel.Builder setVpnGatewayInterface(Integer vpnGatewayInterface)
public VpnTunnel build()
public VpnTunnel.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.