public static class VpnGateway.Builder extends Object
Modifier and Type | Method and Description |
---|---|
VpnGateway.Builder |
addAllVpnInterfaces(List<VpnGatewayVpnGatewayInterface> vpnInterfaces)
[Output Only] A list of interfaces on this VPN gateway.
|
VpnGateway.Builder |
addVpnInterfaces(VpnGatewayVpnGatewayInterface vpnInterfaces)
[Output Only] A list of interfaces on this VPN gateway.
|
VpnGateway |
build() |
VpnGateway.Builder |
clone() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
An optional description of this resource.
|
String |
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> |
getLabelsMap()
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> |
getVpnInterfacesList()
[Output Only] A list of interfaces on this VPN gateway.
|
VpnGateway.Builder |
mergeFrom(VpnGateway other) |
VpnGateway.Builder |
putAllLabels(Map<String,String> labels)
Labels to apply to this VpnGateway resource.
|
VpnGateway.Builder |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
VpnGateway.Builder |
setDescription(String description)
An optional description of this resource.
|
VpnGateway.Builder |
setId(String id)
[Output Only] The unique identifier for the resource.
|
VpnGateway.Builder |
setKind(String kind)
[Output Only] Type of resource.
|
VpnGateway.Builder |
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.Builder |
setName(String name)
Name of the resource.
|
VpnGateway.Builder |
setNetwork(String network)
URL of the network to which this VPN gateway is attached.
|
VpnGateway.Builder |
setRegion(String region)
[Output Only] URL of the region where the VPN gateway resides.
|
VpnGateway.Builder |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
public VpnGateway.Builder mergeFrom(VpnGateway other)
public String getCreationTimestamp()
public VpnGateway.Builder setCreationTimestamp(String creationTimestamp)
public String getDescription()
public VpnGateway.Builder setDescription(String description)
public String getId()
public VpnGateway.Builder setId(String id)
public String getKind()
public VpnGateway.Builder setKind(String kind)
public String getLabelFingerprint()
To see the latest fingerprint, make a get() request to retrieve an VpnGateway.
public VpnGateway.Builder setLabelFingerprint(String labelFingerprint)
To see the latest fingerprint, make a get() request to retrieve an VpnGateway.
public Map<String,String> getLabelsMap()
public VpnGateway.Builder putAllLabels(Map<String,String> labels)
public String getName()
public VpnGateway.Builder setName(String name)
public String getNetwork()
public VpnGateway.Builder setNetwork(String network)
public String getRegion()
public VpnGateway.Builder setRegion(String region)
public String getSelfLink()
public VpnGateway.Builder setSelfLink(String selfLink)
public List<VpnGatewayVpnGatewayInterface> getVpnInterfacesList()
public VpnGateway.Builder addAllVpnInterfaces(List<VpnGatewayVpnGatewayInterface> vpnInterfaces)
public VpnGateway.Builder addVpnInterfaces(VpnGatewayVpnGatewayInterface vpnInterfaces)
public VpnGateway build()
public VpnGateway.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.