public final class VpnGatewayStatusTunnel 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 |
|---|
VpnGatewayStatusTunnel() |
| Modifier and Type | Method and Description |
|---|---|
VpnGatewayStatusTunnel |
clone() |
Long |
getLocalGatewayInterface()
The VPN gateway interface this VPN tunnel is associated with.
|
Long |
getPeerGatewayInterface()
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an
external VPN gateway or GCP VPN gateway.
|
String |
getTunnelUrl()
URL reference to the VPN tunnel.
|
VpnGatewayStatusTunnel |
set(String fieldName,
Object value) |
VpnGatewayStatusTunnel |
setLocalGatewayInterface(Long localGatewayInterface)
The VPN gateway interface this VPN tunnel is associated with.
|
VpnGatewayStatusTunnel |
setPeerGatewayInterface(Long peerGatewayInterface)
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an
external VPN gateway or GCP VPN gateway.
|
VpnGatewayStatusTunnel |
setTunnelUrl(String tunnelUrl)
URL reference to the VPN tunnel.
|
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 Long getLocalGatewayInterface()
null for nonepublic VpnGatewayStatusTunnel setLocalGatewayInterface(Long localGatewayInterface)
localGatewayInterface - localGatewayInterface or null for nonepublic Long getPeerGatewayInterface()
null for nonepublic VpnGatewayStatusTunnel setPeerGatewayInterface(Long peerGatewayInterface)
peerGatewayInterface - peerGatewayInterface or null for nonepublic String getTunnelUrl()
null for nonepublic VpnGatewayStatusTunnel setTunnelUrl(String tunnelUrl)
tunnelUrl - tunnelUrl or null for nonepublic VpnGatewayStatusTunnel set(String fieldName, Object value)
set in class GenericJsonpublic VpnGatewayStatusTunnel clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.