public final class VpnGateway 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 |
|---|
VpnGateway() |
| Modifier and Type | Method and Description |
|---|---|
VpnGateway |
clone() |
byte[] |
decodeLabelFingerprint()
A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of
the labels set used for optimistic locking.
|
VpnGateway |
encodeLabelFingerprint(byte[] labelFingerprint)
A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of
the labels set used for optimistic locking.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
An optional description of this resource.
|
BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of resource.
|
String |
getLabelFingerprint()
A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of
the labels set used for optimistic locking.
|
Map<String,String> |
getLabels()
Labels to apply to this VpnGateway resource.
|
String |
getName()
Name of the resource.
|
String |
getNetwork()
URL of the network to which this VPN gateway is attached.
|
String |
getRegion()
[Output Only] URL of the region where the VPN gateway resides.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
List<VpnGatewayVpnGatewayInterface> |
getVpnInterfaces()
[Output Only] A list of interfaces on this VPN gateway.
|
VpnGateway |
set(String fieldName,
Object value) |
VpnGateway |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
VpnGateway |
setDescription(String description)
An optional description of this resource.
|
VpnGateway |
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
VpnGateway |
setKind(String kind)
[Output Only] Type of resource.
|
VpnGateway |
setLabelFingerprint(String labelFingerprint)
A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of
the labels set used for optimistic locking.
|
VpnGateway |
setLabels(Map<String,String> labels)
Labels to apply to this VpnGateway resource.
|
VpnGateway |
setName(String name)
Name of the resource.
|
VpnGateway |
setNetwork(String network)
URL of the network to which this VPN gateway is attached.
|
VpnGateway |
setRegion(String region)
[Output Only] URL of the region where the VPN gateway resides.
|
VpnGateway |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
VpnGateway |
setVpnInterfaces(List<VpnGatewayVpnGatewayInterface> vpnInterfaces)
[Output Only] A list of interfaces on this VPN gateway.
|
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 VpnGateway setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic VpnGateway setDescription(String description)
description - description or null for nonepublic BigInteger getId()
null for nonepublic VpnGateway setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic VpnGateway setKind(String kind)
kind - kind or null for nonepublic String getLabelFingerprint()
null for nonedecodeLabelFingerprint()public byte[] decodeLabelFingerprint()
null for nonegetLabelFingerprint()public VpnGateway setLabelFingerprint(String labelFingerprint)
labelFingerprint - labelFingerprint or null for none#encodeLabelFingerprint()public VpnGateway encodeLabelFingerprint(byte[] labelFingerprint)
The value is encoded Base64 or {@code null} for none.
public Map<String,String> getLabels()
null for nonepublic VpnGateway setLabels(Map<String,String> labels)
labels - labels or null for nonepublic String getName()
null for nonepublic VpnGateway setName(String name)
name - name or null for nonepublic String getNetwork()
null for nonepublic VpnGateway setNetwork(String network)
network - network or null for nonepublic String getRegion()
null for nonepublic VpnGateway setRegion(String region)
region - region or null for nonepublic String getSelfLink()
null for nonepublic VpnGateway setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic List<VpnGatewayVpnGatewayInterface> getVpnInterfaces()
null for nonepublic VpnGateway setVpnInterfaces(List<VpnGatewayVpnGatewayInterface> vpnInterfaces)
vpnInterfaces - vpnInterfaces or null for nonepublic VpnGateway set(String fieldName, Object value)
set in class GenericJsonpublic VpnGateway clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.