public final class NetworkPolicyTrafficClassificationRuleMatcher
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 |
|---|
NetworkPolicyTrafficClassificationRuleMatcher() |
| Modifier and Type | Method and Description |
|---|---|
NetworkPolicyTrafficClassificationRuleMatcher |
clone() |
List<String> |
getDestIpRanges()
CIDR IP address range.
|
List<NetworkPolicyTrafficClassificationRuleMatcherLayer4Config> |
getLayer4Configs()
Pairs of IP protocols and ports that the rule should match.
|
List<String> |
getSrcIpRanges()
CIDR IP address range.
|
NetworkPolicyTrafficClassificationRuleMatcher |
set(String fieldName,
Object value) |
NetworkPolicyTrafficClassificationRuleMatcher |
setDestIpRanges(List<String> destIpRanges)
CIDR IP address range.
|
NetworkPolicyTrafficClassificationRuleMatcher |
setLayer4Configs(List<NetworkPolicyTrafficClassificationRuleMatcherLayer4Config> layer4Configs)
Pairs of IP protocols and ports that the rule should match.
|
NetworkPolicyTrafficClassificationRuleMatcher |
setSrcIpRanges(List<String> srcIpRanges)
CIDR IP address range.
|
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 NetworkPolicyTrafficClassificationRuleMatcher()
public List<String> getDestIpRanges()
null for nonepublic NetworkPolicyTrafficClassificationRuleMatcher setDestIpRanges(List<String> destIpRanges)
destIpRanges - destIpRanges or null for nonepublic List<NetworkPolicyTrafficClassificationRuleMatcherLayer4Config> getLayer4Configs()
null for nonepublic NetworkPolicyTrafficClassificationRuleMatcher setLayer4Configs(List<NetworkPolicyTrafficClassificationRuleMatcherLayer4Config> layer4Configs)
layer4Configs - layer4Configs or null for nonepublic List<String> getSrcIpRanges()
null for nonepublic NetworkPolicyTrafficClassificationRuleMatcher setSrcIpRanges(List<String> srcIpRanges)
srcIpRanges - srcIpRanges or null for nonepublic NetworkPolicyTrafficClassificationRuleMatcher set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic NetworkPolicyTrafficClassificationRuleMatcher clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.