public static class NetworkPeering.Builder extends Object
Modifier and Type | Method and Description |
---|---|
NetworkPeering |
build() |
NetworkPeering.Builder |
clone() |
Boolean |
getAutoCreateRoutes()
This field will be deprecated soon.
|
Boolean |
getExchangeSubnetRoutes()
Whether full mesh connectivity is created and managed automatically.
|
String |
getName()
Name of this peering.
|
String |
getNetwork()
The URL of the peer network.
|
String |
getState()
[Output Only] State for the peering.
|
String |
getStateDetails()
[Output Only] Details about the current state of the peering.
|
NetworkPeering.Builder |
mergeFrom(NetworkPeering other) |
NetworkPeering.Builder |
setAutoCreateRoutes(Boolean autoCreateRoutes)
This field will be deprecated soon.
|
NetworkPeering.Builder |
setExchangeSubnetRoutes(Boolean exchangeSubnetRoutes)
Whether full mesh connectivity is created and managed automatically.
|
NetworkPeering.Builder |
setName(String name)
Name of this peering.
|
NetworkPeering.Builder |
setNetwork(String network)
The URL of the peer network.
|
NetworkPeering.Builder |
setState(String state)
[Output Only] State for the peering.
|
NetworkPeering.Builder |
setStateDetails(String stateDetails)
[Output Only] Details about the current state of the peering.
|
public NetworkPeering.Builder mergeFrom(NetworkPeering other)
public Boolean getAutoCreateRoutes()
public NetworkPeering.Builder setAutoCreateRoutes(Boolean autoCreateRoutes)
public Boolean getExchangeSubnetRoutes()
public NetworkPeering.Builder setExchangeSubnetRoutes(Boolean exchangeSubnetRoutes)
public String getName()
public NetworkPeering.Builder setName(String name)
public String getNetwork()
public NetworkPeering.Builder setNetwork(String network)
public String getState()
public NetworkPeering.Builder setState(String state)
public String getStateDetails()
public NetworkPeering.Builder setStateDetails(String stateDetails)
public NetworkPeering build()
public NetworkPeering.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.