public final class Router 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 |
|---|
Router() |
| Modifier and Type | Method and Description |
|---|---|
Router |
clone() |
RouterBgp |
getBgp()
BGP information specific to this router.
|
List<RouterBgpPeer> |
getBgpPeers()
BGP information that must be configured into the routing stack to establish BGP peering.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
An optional description of this resource.
|
BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
List<RouterInterface> |
getInterfaces()
Router interfaces.
|
String |
getKind()
[Output Only] Type of resource.
|
String |
getName()
Name of the resource.
|
List<RouterNat> |
getNats()
A list of NAT services created in this router.
|
String |
getNetwork()
URI of the network to which this router belongs.
|
String |
getRegion()
[Output Only] URI of the region where the router resides.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
Router |
set(String fieldName,
Object value) |
Router |
setBgp(RouterBgp bgp)
BGP information specific to this router.
|
Router |
setBgpPeers(List<RouterBgpPeer> bgpPeers)
BGP information that must be configured into the routing stack to establish BGP peering.
|
Router |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
Router |
setDescription(String description)
An optional description of this resource.
|
Router |
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
Router |
setInterfaces(List<RouterInterface> interfaces)
Router interfaces.
|
Router |
setKind(String kind)
[Output Only] Type of resource.
|
Router |
setName(String name)
Name of the resource.
|
Router |
setNats(List<RouterNat> nats)
A list of NAT services created in this router.
|
Router |
setNetwork(String network)
URI of the network to which this router belongs.
|
Router |
setRegion(String region)
[Output Only] URI of the region where the router resides.
|
Router |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
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 RouterBgp getBgp()
null for nonepublic Router setBgp(RouterBgp bgp)
bgp - bgp or null for nonepublic List<RouterBgpPeer> getBgpPeers()
null for nonepublic Router setBgpPeers(List<RouterBgpPeer> bgpPeers)
bgpPeers - bgpPeers or null for nonepublic String getCreationTimestamp()
null for nonepublic Router setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic Router setDescription(String description)
description - description or null for nonepublic BigInteger getId()
null for nonepublic Router setId(BigInteger id)
id - id or null for nonepublic List<RouterInterface> getInterfaces()
null for nonepublic Router setInterfaces(List<RouterInterface> interfaces)
interfaces - interfaces or null for nonepublic String getKind()
null for nonepublic Router setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic Router setName(String name)
name - name or null for nonepublic List<RouterNat> getNats()
null for nonepublic Router setNats(List<RouterNat> nats)
nats - nats or null for nonepublic String getNetwork()
null for nonepublic Router setNetwork(String network)
network - network or null for nonepublic String getRegion()
null for nonepublic Router setRegion(String region)
region - region or null for nonepublic String getSelfLink()
null for nonepublic Router setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic Router set(String fieldName, Object value)
set in class GenericJsonpublic Router clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.