public final class Route 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
| Modifier and Type | Class and Description |
|---|---|
static class |
Route.Warnings
Model definition for RouteWarnings.
|
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Route() |
| Modifier and Type | Method and Description |
|---|---|
Route |
clone() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
An optional description of this resource.
|
String |
getDestRange()
The destination range of outgoing packets that this route applies to.
|
BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of this resource.
|
String |
getName()
Name of the resource.
|
String |
getNetwork()
Fully-qualified URL of the network that this route applies to.
|
String |
getNextHopGateway()
The URL to a gateway that should handle matching packets.
|
String |
getNextHopInstance()
The URL to an instance that should handle matching packets.
|
String |
getNextHopIp()
The network IP address of an instance that should handle matching packets.
|
String |
getNextHopNetwork()
The URL of the local network if it should handle matching packets.
|
String |
getNextHopPeering()
[Output Only] The network peering name that should handle matching packets, which should
conform to RFC1035.
|
String |
getNextHopVpnTunnel()
The URL to a VpnTunnel that should handle matching packets.
|
Long |
getPriority()
The priority of this route.
|
String |
getSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
|
List<String> |
getTags()
A list of instance tags to which this route applies.
|
List<Route.Warnings> |
getWarnings()
[Output Only] If potential misconfigurations are detected for this route, this field will be
populated with warning messages.
|
Route |
set(String fieldName,
Object value) |
Route |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
Route |
setDescription(String description)
An optional description of this resource.
|
Route |
setDestRange(String destRange)
The destination range of outgoing packets that this route applies to.
|
Route |
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
Route |
setKind(String kind)
[Output Only] Type of this resource.
|
Route |
setName(String name)
Name of the resource.
|
Route |
setNetwork(String network)
Fully-qualified URL of the network that this route applies to.
|
Route |
setNextHopGateway(String nextHopGateway)
The URL to a gateway that should handle matching packets.
|
Route |
setNextHopInstance(String nextHopInstance)
The URL to an instance that should handle matching packets.
|
Route |
setNextHopIp(String nextHopIp)
The network IP address of an instance that should handle matching packets.
|
Route |
setNextHopNetwork(String nextHopNetwork)
The URL of the local network if it should handle matching packets.
|
Route |
setNextHopPeering(String nextHopPeering)
[Output Only] The network peering name that should handle matching packets, which should
conform to RFC1035.
|
Route |
setNextHopVpnTunnel(String nextHopVpnTunnel)
The URL to a VpnTunnel that should handle matching packets.
|
Route |
setPriority(Long priority)
The priority of this route.
|
Route |
setSelfLink(String selfLink)
[Output Only] Server-defined fully-qualified URL for this resource.
|
Route |
setTags(List<String> tags)
A list of instance tags to which this route applies.
|
Route |
setWarnings(List<Route.Warnings> warnings)
[Output Only] If potential misconfigurations are detected for this route, this field will be
populated with warning messages.
|
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 String getCreationTimestamp()
null for nonepublic Route setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic Route setDescription(String description)
description - description or null for nonepublic String getDestRange()
null for nonepublic Route setDestRange(String destRange)
destRange - destRange or null for nonepublic BigInteger getId()
null for nonepublic Route setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic Route setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic Route setName(String name)
name - name or null for nonepublic String getNetwork()
null for nonepublic Route setNetwork(String network)
network - network or null for nonepublic String getNextHopGateway()
null for nonepublic Route setNextHopGateway(String nextHopGateway)
nextHopGateway - nextHopGateway or null for nonepublic String getNextHopInstance()
null for nonepublic Route setNextHopInstance(String nextHopInstance)
nextHopInstance - nextHopInstance or null for nonepublic String getNextHopIp()
null for nonepublic Route setNextHopIp(String nextHopIp)
nextHopIp - nextHopIp or null for nonepublic String getNextHopNetwork()
null for nonepublic Route setNextHopNetwork(String nextHopNetwork)
nextHopNetwork - nextHopNetwork or null for nonepublic String getNextHopPeering()
null for nonepublic Route setNextHopPeering(String nextHopPeering)
nextHopPeering - nextHopPeering or null for nonepublic String getNextHopVpnTunnel()
null for nonepublic Route setNextHopVpnTunnel(String nextHopVpnTunnel)
nextHopVpnTunnel - nextHopVpnTunnel or null for nonepublic Long getPriority()
null for nonepublic Route setPriority(Long priority)
priority - priority or null for nonepublic String getSelfLink()
null for nonepublic Route setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic List<String> getTags()
null for nonepublic Route setTags(List<String> tags)
tags - tags or null for nonepublic List<Route.Warnings> getWarnings()
null for nonepublic Route setWarnings(List<Route.Warnings> warnings)
warnings - warnings or null for nonepublic Route set(String fieldName, Object value)
set in class GenericJsonpublic Route clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.