public final class RouterNatRule 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 | 
|---|
| RouterNatRule() | 
| Modifier and Type | Method and Description | 
|---|---|
| RouterNatRule | clone() | 
| RouterNatRuleAction | getAction()The action to be enforced for traffic that matches this rule. | 
| String | getDescription()An optional description of this rule. | 
| String | getMatch()CEL expression that specifies the match condition that egress traffic from a VM is evaluated
 against. | 
| Long | getRuleNumber()An integer uniquely identifying a rule in the list. | 
| RouterNatRule | set(String fieldName,
   Object value) | 
| RouterNatRule | setAction(RouterNatRuleAction action)The action to be enforced for traffic that matches this rule. | 
| RouterNatRule | setDescription(String description)An optional description of this rule. | 
| RouterNatRule | setMatch(String match)CEL expression that specifies the match condition that egress traffic from a VM is evaluated
 against. | 
| RouterNatRule | setRuleNumber(Long ruleNumber)An integer uniquely identifying a rule in the list. | 
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 RouterNatRuleAction getAction()
null for nonepublic RouterNatRule setAction(RouterNatRuleAction action)
action - action or null for nonepublic String getDescription()
null for nonepublic RouterNatRule setDescription(String description)
description - description or null for nonepublic String getMatch()
null for nonepublic RouterNatRule setMatch(String match)
match - match or null for nonepublic Long getRuleNumber()
null for nonepublic RouterNatRule setRuleNumber(Long ruleNumber)
ruleNumber - ruleNumber or null for nonepublic RouterNatRule set(String fieldName, Object value)
set in class GenericJsonpublic RouterNatRule clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.