public final class ExternalVpnGateway 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 | 
|---|
ExternalVpnGateway()  | 
| Modifier and Type | Method and Description | 
|---|---|
ExternalVpnGateway | 
clone()  | 
byte[] | 
decodeLabelFingerprint()
A fingerprint for the labels being applied to this ExternalVpnGateway, which is essentially a
 hash of the labels set used for optimistic locking. 
 | 
ExternalVpnGateway | 
encodeLabelFingerprint(byte[] labelFingerprint)
A fingerprint for the labels being applied to this ExternalVpnGateway, 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. 
 | 
List<ExternalVpnGatewayInterface> | 
getInterfaces()
List of interfaces for this external VPN gateway. 
 | 
String | 
getKind()
[Output Only] Type of the resource. 
 | 
String | 
getLabelFingerprint()
A fingerprint for the labels being applied to this ExternalVpnGateway, which is essentially a
 hash of the labels set used for optimistic locking. 
 | 
Map<String,String> | 
getLabels()
Labels for this resource. 
 | 
String | 
getName()
Name of the resource. 
 | 
String | 
getRedundancyType()
Indicates the user-supplied redundancy type of this external VPN gateway. 
 | 
String | 
getSelfLink()
[Output Only] Server-defined URL for the resource. 
 | 
ExternalVpnGateway | 
set(String fieldName,
   Object value)  | 
ExternalVpnGateway | 
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format. 
 | 
ExternalVpnGateway | 
setDescription(String description)
An optional description of this resource. 
 | 
ExternalVpnGateway | 
setId(BigInteger id)
[Output Only] The unique identifier for the resource. 
 | 
ExternalVpnGateway | 
setInterfaces(List<ExternalVpnGatewayInterface> interfaces)
List of interfaces for this external VPN gateway. 
 | 
ExternalVpnGateway | 
setKind(String kind)
[Output Only] Type of the resource. 
 | 
ExternalVpnGateway | 
setLabelFingerprint(String labelFingerprint)
A fingerprint for the labels being applied to this ExternalVpnGateway, which is essentially a
 hash of the labels set used for optimistic locking. 
 | 
ExternalVpnGateway | 
setLabels(Map<String,String> labels)
Labels for this resource. 
 | 
ExternalVpnGateway | 
setName(String name)
Name of the resource. 
 | 
ExternalVpnGateway | 
setRedundancyType(String redundancyType)
Indicates the user-supplied redundancy type of this external VPN gateway. 
 | 
ExternalVpnGateway | 
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource. 
 | 
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, 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 ExternalVpnGateway setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic ExternalVpnGateway setDescription(String description)
description - description or null for nonepublic BigInteger getId()
null for nonepublic ExternalVpnGateway setId(BigInteger id)
id - id or null for nonepublic List<ExternalVpnGatewayInterface> getInterfaces()
null for nonepublic ExternalVpnGateway setInterfaces(List<ExternalVpnGatewayInterface> interfaces)
interfaces - interfaces or null for nonepublic String getKind()
null for nonepublic ExternalVpnGateway setKind(String kind)
kind - kind or null for nonepublic String getLabelFingerprint()
null for nonedecodeLabelFingerprint()public byte[] decodeLabelFingerprint()
null for nonegetLabelFingerprint()public ExternalVpnGateway setLabelFingerprint(String labelFingerprint)
labelFingerprint - labelFingerprint or null for none#encodeLabelFingerprint()public ExternalVpnGateway encodeLabelFingerprint(byte[] labelFingerprint)
 The value is encoded Base64 or {@code null} for none.
 
public Map<String,String> getLabels()
null for nonepublic ExternalVpnGateway setLabels(Map<String,String> labels)
labels - labels or null for nonepublic String getName()
null for nonepublic ExternalVpnGateway setName(String name)
name - name or null for nonepublic String getRedundancyType()
null for nonepublic ExternalVpnGateway setRedundancyType(String redundancyType)
redundancyType - redundancyType or null for nonepublic String getSelfLink()
null for nonepublic ExternalVpnGateway setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic ExternalVpnGateway set(String fieldName, Object value)
set in class GenericJsonpublic ExternalVpnGateway clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.