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()
Indicates whether full mesh connectivity is created and managed automatically between peered
networks.
|
Boolean |
getExportCustomRoutes()
Whether to export the custom routes to peer network.
|
Boolean |
getImportCustomRoutes()
Whether to import the custom routes from peer network.
|
String |
getName()
Name of this peering.
|
String |
getNetwork()
The URL of the peer network.
|
String |
getState()
[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`.
|
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)
Indicates whether full mesh connectivity is created and managed automatically between peered
networks.
|
NetworkPeering.Builder |
setExportCustomRoutes(Boolean exportCustomRoutes)
Whether to export the custom routes to peer network.
|
NetworkPeering.Builder |
setImportCustomRoutes(Boolean importCustomRoutes)
Whether to import the custom routes from peer network.
|
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, either `ACTIVE` or `INACTIVE`.
|
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 Boolean getExportCustomRoutes()
public NetworkPeering.Builder setExportCustomRoutes(Boolean exportCustomRoutes)
public Boolean getImportCustomRoutes()
public NetworkPeering.Builder setImportCustomRoutes(Boolean importCustomRoutes)
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.