public static class TargetVpnGateway.Builder extends Object
Modifier and Type | Method and Description |
---|---|
TargetVpnGateway.Builder |
addAllForwardingRules(List<String> forwardingRules)
[Output Only] A list of URLs to the ForwardingRule resources.
|
TargetVpnGateway.Builder |
addAllTunnels(List<String> tunnels)
[Output Only] A list of URLs to VpnTunnel resources.
|
TargetVpnGateway.Builder |
addForwardingRules(String forwardingRules)
[Output Only] A list of URLs to the ForwardingRule resources.
|
TargetVpnGateway.Builder |
addTunnels(String tunnels)
[Output Only] A list of URLs to VpnTunnel resources.
|
TargetVpnGateway |
build() |
TargetVpnGateway.Builder |
clone() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
An optional description of this resource.
|
List<String> |
getForwardingRulesList()
[Output Only] A list of URLs to the ForwardingRule resources.
|
String |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of 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 target VPN gateway resides.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
String |
getStatus()
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING,
READY, FAILED, or DELETING.
|
List<String> |
getTunnelsList()
[Output Only] A list of URLs to VpnTunnel resources.
|
TargetVpnGateway.Builder |
mergeFrom(TargetVpnGateway other) |
TargetVpnGateway.Builder |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
TargetVpnGateway.Builder |
setDescription(String description)
An optional description of this resource.
|
TargetVpnGateway.Builder |
setId(String id)
[Output Only] The unique identifier for the resource.
|
TargetVpnGateway.Builder |
setKind(String kind)
[Output Only] Type of resource.
|
TargetVpnGateway.Builder |
setName(String name)
Name of the resource.
|
TargetVpnGateway.Builder |
setNetwork(String network)
URL of the network to which this VPN gateway is attached.
|
TargetVpnGateway.Builder |
setRegion(String region)
[Output Only] URL of the region where the target VPN gateway resides.
|
TargetVpnGateway.Builder |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
TargetVpnGateway.Builder |
setStatus(String status)
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING,
READY, FAILED, or DELETING.
|
public TargetVpnGateway.Builder mergeFrom(TargetVpnGateway other)
public String getCreationTimestamp()
public TargetVpnGateway.Builder setCreationTimestamp(String creationTimestamp)
public String getDescription()
public TargetVpnGateway.Builder setDescription(String description)
public List<String> getForwardingRulesList()
public TargetVpnGateway.Builder addAllForwardingRules(List<String> forwardingRules)
public TargetVpnGateway.Builder addForwardingRules(String forwardingRules)
public String getId()
public TargetVpnGateway.Builder setId(String id)
public String getKind()
public TargetVpnGateway.Builder setKind(String kind)
public String getName()
public TargetVpnGateway.Builder setName(String name)
public String getNetwork()
public TargetVpnGateway.Builder setNetwork(String network)
public String getRegion()
public TargetVpnGateway.Builder setRegion(String region)
public String getSelfLink()
public TargetVpnGateway.Builder setSelfLink(String selfLink)
public String getStatus()
public TargetVpnGateway.Builder setStatus(String status)
public List<String> getTunnelsList()
public TargetVpnGateway.Builder addAllTunnels(List<String> tunnels)
public TargetVpnGateway.Builder addTunnels(String tunnels)
public TargetVpnGateway build()
public TargetVpnGateway.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.