target.apidocs.com.google.api.services.compute.model.RouterStatusBgpPeerStatus.html Maven / Gradle / Ivy
RouterStatusBgpPeerStatus (Compute Engine API v1-rev20200104-1.30.8)
com.google.api.services.compute.model
Class RouterStatusBgpPeerStatus
- 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.RouterStatusBgpPeerStatus
-
public final class RouterStatusBgpPeerStatus
extends GenericJson
Model definition for RouterStatusBgpPeerStatus.
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
RouterStatusBgpPeerStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
RouterStatusBgpPeerStatus
clone()
List<Route>
getAdvertisedRoutes()
Routes that were advertised to the remote BGP peer
String
getIpAddress()
IP address of the local BGP interface.
String
getLinkedVpnTunnel()
URL of the VPN tunnel that this BGP peer controls.
String
getName()
Name of this BGP peer.
Long
getNumLearnedRoutes()
Number of routes learned from the remote BGP Peer.
String
getPeerIpAddress()
IP address of the remote BGP interface.
String
getState()
BGP state as specified in RFC1771.
String
getStatus()
Status of the BGP peer: {UP, DOWN}
String
getUptime()
Time this session has been up.
String
getUptimeSeconds()
Time this session has been up, in seconds.
RouterStatusBgpPeerStatus
set(String fieldName,
Object value)
RouterStatusBgpPeerStatus
setAdvertisedRoutes(List<Route> advertisedRoutes)
Routes that were advertised to the remote BGP peer
RouterStatusBgpPeerStatus
setIpAddress(String ipAddress)
IP address of the local BGP interface.
RouterStatusBgpPeerStatus
setLinkedVpnTunnel(String linkedVpnTunnel)
URL of the VPN tunnel that this BGP peer controls.
RouterStatusBgpPeerStatus
setName(String name)
Name of this BGP peer.
RouterStatusBgpPeerStatus
setNumLearnedRoutes(Long numLearnedRoutes)
Number of routes learned from the remote BGP Peer.
RouterStatusBgpPeerStatus
setPeerIpAddress(String peerIpAddress)
IP address of the remote BGP interface.
RouterStatusBgpPeerStatus
setState(String state)
BGP state as specified in RFC1771.
RouterStatusBgpPeerStatus
setStatus(String status)
Status of the BGP peer: {UP, DOWN}
RouterStatusBgpPeerStatus
setUptime(String uptime)
Time this session has been up.
RouterStatusBgpPeerStatus
setUptimeSeconds(String uptimeSeconds)
Time this session has been up, in seconds.
-
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
-
getAdvertisedRoutes
public List<Route> getAdvertisedRoutes()
Routes that were advertised to the remote BGP peer
- Returns:
- value or
null for none
-
setAdvertisedRoutes
public RouterStatusBgpPeerStatus setAdvertisedRoutes(List<Route> advertisedRoutes)
Routes that were advertised to the remote BGP peer
- Parameters:
advertisedRoutes - advertisedRoutes or null for none
-
getIpAddress
public String getIpAddress()
IP address of the local BGP interface.
- Returns:
- value or
null for none
-
setIpAddress
public RouterStatusBgpPeerStatus setIpAddress(String ipAddress)
IP address of the local BGP interface.
- Parameters:
ipAddress - ipAddress or null for none
-
getLinkedVpnTunnel
public String getLinkedVpnTunnel()
URL of the VPN tunnel that this BGP peer controls.
- Returns:
- value or
null for none
-
setLinkedVpnTunnel
public RouterStatusBgpPeerStatus setLinkedVpnTunnel(String linkedVpnTunnel)
URL of the VPN tunnel that this BGP peer controls.
- Parameters:
linkedVpnTunnel - linkedVpnTunnel or null for none
-
getName
public String getName()
Name of this BGP peer. Unique within the Routers resource.
- Returns:
- value or
null for none
-
setName
public RouterStatusBgpPeerStatus setName(String name)
Name of this BGP peer. Unique within the Routers resource.
- Parameters:
name - name or null for none
-
getNumLearnedRoutes
public Long getNumLearnedRoutes()
Number of routes learned from the remote BGP Peer.
- Returns:
- value or
null for none
-
setNumLearnedRoutes
public RouterStatusBgpPeerStatus setNumLearnedRoutes(Long numLearnedRoutes)
Number of routes learned from the remote BGP Peer.
- Parameters:
numLearnedRoutes - numLearnedRoutes or null for none
-
getPeerIpAddress
public String getPeerIpAddress()
IP address of the remote BGP interface.
- Returns:
- value or
null for none
-
setPeerIpAddress
public RouterStatusBgpPeerStatus setPeerIpAddress(String peerIpAddress)
IP address of the remote BGP interface.
- Parameters:
peerIpAddress - peerIpAddress or null for none
-
getState
public String getState()
BGP state as specified in RFC1771.
- Returns:
- value or
null for none
-
setState
public RouterStatusBgpPeerStatus setState(String state)
BGP state as specified in RFC1771.
- Parameters:
state - state or null for none
-
getStatus
public String getStatus()
Status of the BGP peer: {UP, DOWN}
- Returns:
- value or
null for none
-
setStatus
public RouterStatusBgpPeerStatus setStatus(String status)
Status of the BGP peer: {UP, DOWN}
- Parameters:
status - status or null for none
-
getUptime
public String getUptime()
Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59
seconds
- Returns:
- value or
null for none
-
setUptime
public RouterStatusBgpPeerStatus setUptime(String uptime)
Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59
seconds
- Parameters:
uptime - uptime or null for none
-
getUptimeSeconds
public String getUptimeSeconds()
Time this session has been up, in seconds. Format: 145
- Returns:
- value or
null for none
-
setUptimeSeconds
public RouterStatusBgpPeerStatus setUptimeSeconds(String uptimeSeconds)
Time this session has been up, in seconds. Format: 145
- Parameters:
uptimeSeconds - uptimeSeconds or null for none
-
set
public RouterStatusBgpPeerStatus set(String fieldName,
Object value)
- Overrides:
set in class GenericJson
-
clone
public RouterStatusBgpPeerStatus clone()
- Overrides:
clone in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy