public final class VpnTunnel extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
VpnTunnel() |
| Modifier and Type | Method and Description |
|---|---|
VpnTunnel |
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.
|
BigInteger |
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> |
getLocalTrafficSelector()
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> |
getRemoteTrafficSelector()
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 |
set(String fieldName,
Object value) |
VpnTunnel |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
VpnTunnel |
setDescription(String description)
An optional description of this resource.
|
VpnTunnel |
setDetailedStatus(String detailedStatus)
[Output Only] Detailed status message for the VPN tunnel.
|
VpnTunnel |
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
VpnTunnel |
setIkeVersion(Integer ikeVersion)
IKE protocol version to use when establishing the VPN tunnel with the peer VPN gateway.
|
VpnTunnel |
setKind(String kind)
[Output Only] Type of resource.
|
VpnTunnel |
setLocalTrafficSelector(List<String> localTrafficSelector)
Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway.
|
VpnTunnel |
setName(String name)
Name of the resource.
|
VpnTunnel |
setPeerExternalGateway(String peerExternalGateway)
URL of the peer side external VPN gateway to which this VPN tunnel is connected.
|
VpnTunnel |
setPeerExternalGatewayInterface(Integer peerExternalGatewayInterface)
The interface ID of the external VPN gateway to which this VPN tunnel is connected.
|
VpnTunnel |
setPeerGcpGateway(String peerGcpGateway)
URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected.
|
VpnTunnel |
setPeerIp(String peerIp)
IP address of the peer VPN gateway.
|
VpnTunnel |
setRegion(String region)
[Output Only] URL of the region where the VPN tunnel resides.
|
VpnTunnel |
setRemoteTrafficSelector(List<String> remoteTrafficSelector)
Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway.
|
VpnTunnel |
setRouter(String router)
URL of the router resource to be used for dynamic routing.
|
VpnTunnel |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
VpnTunnel |
setSharedSecret(String sharedSecret)
Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN
gateway.
|
VpnTunnel |
setSharedSecretHash(String sharedSecretHash)
Hash of the shared secret.
|
VpnTunnel |
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 |
setTargetVpnGateway(String targetVpnGateway)
URL of the Target VPN gateway with which this VPN tunnel is associated.
|
VpnTunnel |
setVpnGateway(String vpnGateway)
URL of the VPN gateway with which this VPN tunnel is associated.
|
VpnTunnel |
setVpnGatewayInterface(Integer vpnGatewayInterface)
The interface ID of the VPN gateway with which this VPN tunnel is associated.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getCreationTimestamp()
null for nonepublic VpnTunnel setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic VpnTunnel setDescription(String description)
description - description or null for nonepublic String getDetailedStatus()
null for nonepublic VpnTunnel setDetailedStatus(String detailedStatus)
detailedStatus - detailedStatus or null for nonepublic BigInteger getId()
null for nonepublic VpnTunnel setId(BigInteger id)
id - id or null for nonepublic Integer getIkeVersion()
null for nonepublic VpnTunnel setIkeVersion(Integer ikeVersion)
ikeVersion - ikeVersion or null for nonepublic String getKind()
null for nonepublic VpnTunnel setKind(String kind)
kind - kind or null for nonepublic List<String> getLocalTrafficSelector()
null for nonepublic VpnTunnel setLocalTrafficSelector(List<String> localTrafficSelector)
localTrafficSelector - localTrafficSelector or null for nonepublic String getName()
null for nonepublic VpnTunnel setName(String name)
name - name or null for nonepublic String getPeerExternalGateway()
null for nonepublic VpnTunnel setPeerExternalGateway(String peerExternalGateway)
peerExternalGateway - peerExternalGateway or null for nonepublic Integer getPeerExternalGatewayInterface()
null for nonepublic VpnTunnel setPeerExternalGatewayInterface(Integer peerExternalGatewayInterface)
peerExternalGatewayInterface - peerExternalGatewayInterface or null for nonepublic String getPeerGcpGateway()
null for nonepublic VpnTunnel setPeerGcpGateway(String peerGcpGateway)
peerGcpGateway - peerGcpGateway or null for nonepublic String getPeerIp()
null for nonepublic VpnTunnel setPeerIp(String peerIp)
peerIp - peerIp or null for nonepublic String getRegion()
null for nonepublic VpnTunnel setRegion(String region)
region - region or null for nonepublic List<String> getRemoteTrafficSelector()
null for nonepublic VpnTunnel setRemoteTrafficSelector(List<String> remoteTrafficSelector)
remoteTrafficSelector - remoteTrafficSelector or null for nonepublic String getRouter()
null for nonepublic VpnTunnel setRouter(String router)
router - router or null for nonepublic String getSelfLink()
null for nonepublic VpnTunnel setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getSharedSecret()
null for nonepublic VpnTunnel setSharedSecret(String sharedSecret)
sharedSecret - sharedSecret or null for nonepublic String getSharedSecretHash()
null for nonepublic VpnTunnel setSharedSecretHash(String sharedSecretHash)
sharedSecretHash - sharedSecretHash or null for nonepublic String getStatus()
null for nonepublic VpnTunnel setStatus(String status)
status - status or null for nonepublic String getTargetVpnGateway()
null for nonepublic VpnTunnel setTargetVpnGateway(String targetVpnGateway)
targetVpnGateway - targetVpnGateway or null for nonepublic String getVpnGateway()
null for nonepublic VpnTunnel setVpnGateway(String vpnGateway)
vpnGateway - vpnGateway or null for nonepublic Integer getVpnGatewayInterface()
null for nonepublic VpnTunnel setVpnGatewayInterface(Integer vpnGatewayInterface)
vpnGatewayInterface - vpnGatewayInterface or null for nonepublic VpnTunnel set(String fieldName, Object value)
set in class GenericJsonpublic VpnTunnel clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.