public final class NetworkPeering extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
NetworkPeering() |
| Modifier and Type | Method and Description |
|---|---|
NetworkPeering |
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 |
set(String fieldName,
Object value) |
NetworkPeering |
setAutoCreateRoutes(Boolean autoCreateRoutes)
This field will be deprecated soon.
|
NetworkPeering |
setExchangeSubnetRoutes(Boolean exchangeSubnetRoutes)
Indicates whether full mesh connectivity is created and managed automatically between peered
networks.
|
NetworkPeering |
setExportCustomRoutes(Boolean exportCustomRoutes)
Whether to export the custom routes to peer network.
|
NetworkPeering |
setImportCustomRoutes(Boolean importCustomRoutes)
Whether to import the custom routes from peer network.
|
NetworkPeering |
setName(String name)
Name of this peering.
|
NetworkPeering |
setNetwork(String network)
The URL of the peer network.
|
NetworkPeering |
setState(String state)
[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`.
|
NetworkPeering |
setStateDetails(String stateDetails)
[Output Only] Details about the current state of the peering.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Boolean getAutoCreateRoutes()
null for nonepublic NetworkPeering setAutoCreateRoutes(Boolean autoCreateRoutes)
autoCreateRoutes - autoCreateRoutes or null for nonepublic Boolean getExchangeSubnetRoutes()
null for nonepublic NetworkPeering setExchangeSubnetRoutes(Boolean exchangeSubnetRoutes)
exchangeSubnetRoutes - exchangeSubnetRoutes or null for nonepublic Boolean getExportCustomRoutes()
null for nonepublic NetworkPeering setExportCustomRoutes(Boolean exportCustomRoutes)
exportCustomRoutes - exportCustomRoutes or null for nonepublic Boolean getImportCustomRoutes()
null for nonepublic NetworkPeering setImportCustomRoutes(Boolean importCustomRoutes)
importCustomRoutes - importCustomRoutes or null for nonepublic String getName()
null for nonepublic NetworkPeering setName(String name)
name - name or null for nonepublic String getNetwork()
null for nonepublic NetworkPeering setNetwork(String network)
network - network or null for nonepublic String getState()
null for nonepublic NetworkPeering setState(String state)
state - state or null for nonepublic String getStateDetails()
null for nonepublic NetworkPeering setStateDetails(String stateDetails)
stateDetails - stateDetails or null for nonepublic NetworkPeering set(String fieldName, Object value)
set in class GenericJsonpublic NetworkPeering clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.