public final class RouterNatRuleAction
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
RouterNatRuleAction() |
Modifier and Type | Method and Description |
---|---|
RouterNatRuleAction |
clone() |
List<String> |
getSourceNatActiveIps()
A list of URLs of the IP resources used for this NAT rule.
|
List<String> |
getSourceNatActiveRanges()
A list of URLs of the subnetworks used as source ranges for this NAT Rule.
|
List<String> |
getSourceNatDrainIps()
A list of URLs of the IP resources to be drained.
|
List<String> |
getSourceNatDrainRanges()
A list of URLs of subnetworks representing source ranges to be drained.
|
RouterNatRuleAction |
set(String fieldName,
Object value) |
RouterNatRuleAction |
setSourceNatActiveIps(List<String> sourceNatActiveIps)
A list of URLs of the IP resources used for this NAT rule.
|
RouterNatRuleAction |
setSourceNatActiveRanges(List<String> sourceNatActiveRanges)
A list of URLs of the subnetworks used as source ranges for this NAT Rule.
|
RouterNatRuleAction |
setSourceNatDrainIps(List<String> sourceNatDrainIps)
A list of URLs of the IP resources to be drained.
|
RouterNatRuleAction |
setSourceNatDrainRanges(List<String> sourceNatDrainRanges)
A list of URLs of subnetworks representing source ranges to be drained.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<String> getSourceNatActiveIps()
null
for nonepublic RouterNatRuleAction setSourceNatActiveIps(List<String> sourceNatActiveIps)
sourceNatActiveIps
- sourceNatActiveIps or null
for nonepublic List<String> getSourceNatActiveRanges()
null
for nonepublic RouterNatRuleAction setSourceNatActiveRanges(List<String> sourceNatActiveRanges)
sourceNatActiveRanges
- sourceNatActiveRanges or null
for nonepublic List<String> getSourceNatDrainIps()
null
for nonepublic RouterNatRuleAction setSourceNatDrainIps(List<String> sourceNatDrainIps)
sourceNatDrainIps
- sourceNatDrainIps or null
for nonepublic List<String> getSourceNatDrainRanges()
null
for nonepublic RouterNatRuleAction setSourceNatDrainRanges(List<String> sourceNatDrainRanges)
sourceNatDrainRanges
- sourceNatDrainRanges or null
for nonepublic RouterNatRuleAction set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public RouterNatRuleAction clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.