public static class ExternalVpnGateway.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ExternalVpnGateway.Builder |
addAllInterfaces(List<ExternalVpnGatewayInterface> interfaces)
List of interfaces for this external VPN gateway.
|
ExternalVpnGateway.Builder |
addInterfaces(ExternalVpnGatewayInterface interfaces)
List of interfaces for this external VPN gateway.
|
ExternalVpnGateway |
build() |
ExternalVpnGateway.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.
|
List<ExternalVpnGatewayInterface> |
getInterfacesList()
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> |
getLabelsMap()
Labels to apply to this ExternalVpnGateway 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.Builder |
mergeFrom(ExternalVpnGateway other) |
ExternalVpnGateway.Builder |
putAllLabels(Map<String,String> labels)
Labels to apply to this ExternalVpnGateway resource.
|
ExternalVpnGateway.Builder |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
ExternalVpnGateway.Builder |
setDescription(String description)
An optional description of this resource.
|
ExternalVpnGateway.Builder |
setId(String id)
[Output Only] The unique identifier for the resource.
|
ExternalVpnGateway.Builder |
setKind(String kind)
[Output Only] Type of the resource.
|
ExternalVpnGateway.Builder |
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.Builder |
setName(String name)
Name of the resource.
|
ExternalVpnGateway.Builder |
setRedundancyType(String redundancyType)
Indicates the user-supplied redundancy type of this external VPN gateway.
|
ExternalVpnGateway.Builder |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
public ExternalVpnGateway.Builder mergeFrom(ExternalVpnGateway other)
public String getCreationTimestamp()
public ExternalVpnGateway.Builder setCreationTimestamp(String creationTimestamp)
public String getDescription()
public ExternalVpnGateway.Builder setDescription(String description)
public String getId()
public ExternalVpnGateway.Builder setId(String id)
public List<ExternalVpnGatewayInterface> getInterfacesList()
public ExternalVpnGateway.Builder addAllInterfaces(List<ExternalVpnGatewayInterface> interfaces)
public ExternalVpnGateway.Builder addInterfaces(ExternalVpnGatewayInterface interfaces)
public String getKind()
public ExternalVpnGateway.Builder setKind(String kind)
public String getLabelFingerprint()
To see the latest fingerprint, make a get() request to retrieve an ExternalVpnGateway.
public ExternalVpnGateway.Builder setLabelFingerprint(String labelFingerprint)
To see the latest fingerprint, make a get() request to retrieve an ExternalVpnGateway.
public Map<String,String> getLabelsMap()
public ExternalVpnGateway.Builder putAllLabels(Map<String,String> labels)
public String getName()
public ExternalVpnGateway.Builder setName(String name)
public String getRedundancyType()
public ExternalVpnGateway.Builder setRedundancyType(String redundancyType)
public String getSelfLink()
public ExternalVpnGateway.Builder setSelfLink(String selfLink)
public ExternalVpnGateway build()
public ExternalVpnGateway.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.