
target.apidocs.com.google.api.services.compute.model.RouterStatus.html Maven / Gradle / Ivy
RouterStatus (Compute Engine API beta-rev20220312-1.32.1)
com.google.api.services.compute.model
Class RouterStatus
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.compute.model.RouterStatus
-
public final class RouterStatus
extends GenericJson
Model definition for RouterStatus.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
RouterStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
RouterStatus
clone()
List<Route>
getBestRoutes()
Best routes for this router's network.
List<Route>
getBestRoutesForRouter()
Best routes learned by this router.
List<RouterStatusBgpPeerStatus>
getBgpPeerStatus()
List<RouterStatusNatStatus>
getNatStatus()
String
getNetwork()
URI of the network to which this router belongs.
RouterStatus
set(String fieldName,
Object value)
RouterStatus
setBestRoutes(List<Route> bestRoutes)
Best routes for this router's network.
RouterStatus
setBestRoutesForRouter(List<Route> bestRoutesForRouter)
Best routes learned by this router.
RouterStatus
setBgpPeerStatus(List<RouterStatusBgpPeerStatus> bgpPeerStatus)
RouterStatus
setNatStatus(List<RouterStatusNatStatus> natStatus)
RouterStatus
setNetwork(String network)
URI of the network to which this router belongs.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getBestRoutes
public List<Route> getBestRoutes()
Best routes for this router's network.
- Returns:
- value or
null
for none
-
setBestRoutes
public RouterStatus setBestRoutes(List<Route> bestRoutes)
Best routes for this router's network.
- Parameters:
bestRoutes
- bestRoutes or null
for none
-
getBestRoutesForRouter
public List<Route> getBestRoutesForRouter()
Best routes learned by this router.
- Returns:
- value or
null
for none
-
setBestRoutesForRouter
public RouterStatus setBestRoutesForRouter(List<Route> bestRoutesForRouter)
Best routes learned by this router.
- Parameters:
bestRoutesForRouter
- bestRoutesForRouter or null
for none
-
getBgpPeerStatus
public List<RouterStatusBgpPeerStatus> getBgpPeerStatus()
- Returns:
- value or
null
for none
-
setBgpPeerStatus
public RouterStatus setBgpPeerStatus(List<RouterStatusBgpPeerStatus> bgpPeerStatus)
- Parameters:
bgpPeerStatus
- bgpPeerStatus or null
for none
-
getNatStatus
public List<RouterStatusNatStatus> getNatStatus()
- Returns:
- value or
null
for none
-
setNatStatus
public RouterStatus setNatStatus(List<RouterStatusNatStatus> natStatus)
- Parameters:
natStatus
- natStatus or null
for none
-
getNetwork
public String getNetwork()
URI of the network to which this router belongs.
- Returns:
- value or
null
for none
-
setNetwork
public RouterStatus setNetwork(String network)
URI of the network to which this router belongs.
- Parameters:
network
- network or null
for none
-
set
public RouterStatus set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public RouterStatus clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy