public final class RoutePolicy
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
RoutePolicy() |
| Modifier and Type | Method and Description |
|---|---|
RoutePolicy |
clone() |
byte[] |
decodeFingerprint()
A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of
the Route Policy used for optimistic locking.
|
RoutePolicy |
encodeFingerprint(byte[] fingerprint)
A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of
the Route Policy used for optimistic locking.
|
String |
getDescription()
An optional description of route policy.
|
String |
getFingerprint()
A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of
the Route Policy used for optimistic locking.
|
String |
getName()
Route Policy name, which must be a resource ID segment and unique within all the router's Route
Policies.
|
List<RoutePolicyPolicyTerm> |
getTerms()
List of terms (the order in the list is not important, they are evaluated in order of
priority).
|
String |
getType() |
RoutePolicy |
set(String fieldName,
Object value) |
RoutePolicy |
setDescription(String description)
An optional description of route policy.
|
RoutePolicy |
setFingerprint(String fingerprint)
A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of
the Route Policy used for optimistic locking.
|
RoutePolicy |
setName(String name)
Route Policy name, which must be a resource ID segment and unique within all the router's Route
Policies.
|
RoutePolicy |
setTerms(List<RoutePolicyPolicyTerm> terms)
List of terms (the order in the list is not important, they are evaluated in order of
priority).
|
RoutePolicy |
setType(String type) |
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getDescription()
null for nonepublic RoutePolicy setDescription(String description)
description - description or null for nonepublic String getFingerprint()
null for nonedecodeFingerprint()public byte[] decodeFingerprint()
null for nonegetFingerprint()public RoutePolicy setFingerprint(String fingerprint)
fingerprint - fingerprint or null for none#encodeFingerprint()public RoutePolicy encodeFingerprint(byte[] fingerprint)
The value is encoded Base64 or {@code null} for none.
public String getName()
null for nonepublic RoutePolicy setName(String name)
name - name or null for nonepublic List<RoutePolicyPolicyTerm> getTerms()
null for nonepublic RoutePolicy setTerms(List<RoutePolicyPolicyTerm> terms)
terms - terms or null for nonepublic String getType()
null for nonepublic RoutePolicy setType(String type)
type - type or null for nonepublic RoutePolicy set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic RoutePolicy clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.