Modifier and Type | Method and Description |
---|---|
Network.Builder |
addAllPeerings(List<NetworkPeering> peerings)
[Output Only] A list of network peerings for the resource.
|
Network.Builder |
addAllSubnetworks(List<String> subnetworks)
[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.
|
Network.Builder |
addPeerings(NetworkPeering peerings)
[Output Only] A list of network peerings for the resource.
|
Network.Builder |
addSubnetworks(String subnetworks)
[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.
|
Network |
build() |
Network.Builder |
clone() |
Boolean |
getAutoCreateSubnetworks()
When set to true, the VPC network is created in "auto" mode.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
An optional description of this resource.
|
String |
getGatewayIPv4()
[Output Only] The gateway address for default routing out of the network.
|
String |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getIPv4Range()
Deprecated in favor of subnet mode networks.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getName()
Name of the resource.
|
List<NetworkPeering> |
getPeeringsList()
[Output Only] A list of network peerings for the resource.
|
NetworkRoutingConfig |
getRoutingConfig()
The network-level routing configuration for this network.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
List<String> |
getSubnetworksList()
[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.
|
Network.Builder |
mergeFrom(Network other) |
Network.Builder |
setAutoCreateSubnetworks(Boolean autoCreateSubnetworks)
When set to true, the VPC network is created in "auto" mode.
|
Network.Builder |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
Network.Builder |
setDescription(String description)
An optional description of this resource.
|
Network.Builder |
setGatewayIPv4(String gatewayIPv4)
[Output Only] The gateway address for default routing out of the network.
|
Network.Builder |
setId(String id)
[Output Only] The unique identifier for the resource.
|
Network.Builder |
setIPv4Range(String iPv4Range)
Deprecated in favor of subnet mode networks.
|
Network.Builder |
setKind(String kind)
[Output Only] Type of the resource.
|
Network.Builder |
setName(String name)
Name of the resource.
|
Network.Builder |
setRoutingConfig(NetworkRoutingConfig routingConfig)
The network-level routing configuration for this network.
|
Network.Builder |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
public Network.Builder mergeFrom(Network other)
public Boolean getAutoCreateSubnetworks()
An auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described in Auto mode VPC network IP ranges.
public Network.Builder setAutoCreateSubnetworks(Boolean autoCreateSubnetworks)
An auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described in Auto mode VPC network IP ranges.
public String getCreationTimestamp()
public Network.Builder setCreationTimestamp(String creationTimestamp)
public String getDescription()
public Network.Builder setDescription(String description)
public String getGatewayIPv4()
public Network.Builder setGatewayIPv4(String gatewayIPv4)
public String getIPv4Range()
public Network.Builder setIPv4Range(String iPv4Range)
public String getId()
public Network.Builder setId(String id)
public String getKind()
public Network.Builder setKind(String kind)
public String getName()
public Network.Builder setName(String name)
public List<NetworkPeering> getPeeringsList()
public Network.Builder addAllPeerings(List<NetworkPeering> peerings)
public Network.Builder addPeerings(NetworkPeering peerings)
public NetworkRoutingConfig getRoutingConfig()
public Network.Builder setRoutingConfig(NetworkRoutingConfig routingConfig)
public String getSelfLink()
public Network.Builder setSelfLink(String selfLink)
public List<String> getSubnetworksList()
public Network.Builder addAllSubnetworks(List<String> subnetworks)
public Network.Builder addSubnetworks(String subnetworks)
public Network build()
public Network.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.