public final class FirewallPolicyRuleMatcher 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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
FirewallPolicyRuleMatcher() |
Modifier and Type | Method and Description |
---|---|
FirewallPolicyRuleMatcher |
clone() |
List<String> |
getDestAddressGroups()
Address groups which should be matched against the traffic destination.
|
List<String> |
getDestFqdns()
Fully Qualified Domain Name (FQDN) which should be matched against traffic destination.
|
List<String> |
getDestIpRanges()
CIDR IP address range.
|
List<String> |
getDestRegionCodes()
Region codes whose IP addresses will be used to match for destination of traffic.
|
List<FirewallPolicyRuleMatcherLayer4Config> |
getLayer4Configs()
Pairs of IP protocols and ports that the rule should match.
|
List<String> |
getSrcAddressGroups()
Address groups which should be matched against the traffic source.
|
List<String> |
getSrcFqdns()
Fully Qualified Domain Name (FQDN) which should be matched against traffic source.
|
List<String> |
getSrcIpRanges()
CIDR IP address range.
|
List<String> |
getSrcRegionCodes()
Region codes whose IP addresses will be used to match for source of traffic.
|
List<FirewallPolicyRuleSecureTag> |
getSrcSecureTags()
List of secure tag values, which should be matched at the source of the traffic.
|
FirewallPolicyRuleMatcher |
set(String fieldName,
Object value) |
FirewallPolicyRuleMatcher |
setDestAddressGroups(List<String> destAddressGroups)
Address groups which should be matched against the traffic destination.
|
FirewallPolicyRuleMatcher |
setDestFqdns(List<String> destFqdns)
Fully Qualified Domain Name (FQDN) which should be matched against traffic destination.
|
FirewallPolicyRuleMatcher |
setDestIpRanges(List<String> destIpRanges)
CIDR IP address range.
|
FirewallPolicyRuleMatcher |
setDestRegionCodes(List<String> destRegionCodes)
Region codes whose IP addresses will be used to match for destination of traffic.
|
FirewallPolicyRuleMatcher |
setLayer4Configs(List<FirewallPolicyRuleMatcherLayer4Config> layer4Configs)
Pairs of IP protocols and ports that the rule should match.
|
FirewallPolicyRuleMatcher |
setSrcAddressGroups(List<String> srcAddressGroups)
Address groups which should be matched against the traffic source.
|
FirewallPolicyRuleMatcher |
setSrcFqdns(List<String> srcFqdns)
Fully Qualified Domain Name (FQDN) which should be matched against traffic source.
|
FirewallPolicyRuleMatcher |
setSrcIpRanges(List<String> srcIpRanges)
CIDR IP address range.
|
FirewallPolicyRuleMatcher |
setSrcRegionCodes(List<String> srcRegionCodes)
Region codes whose IP addresses will be used to match for source of traffic.
|
FirewallPolicyRuleMatcher |
setSrcSecureTags(List<FirewallPolicyRuleSecureTag> srcSecureTags)
List of secure tag values, which should be matched at the source of the traffic.
|
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> getDestAddressGroups()
null
for nonepublic FirewallPolicyRuleMatcher setDestAddressGroups(List<String> destAddressGroups)
destAddressGroups
- destAddressGroups or null
for nonepublic List<String> getDestFqdns()
null
for nonepublic FirewallPolicyRuleMatcher setDestFqdns(List<String> destFqdns)
destFqdns
- destFqdns or null
for nonepublic List<String> getDestIpRanges()
null
for nonepublic FirewallPolicyRuleMatcher setDestIpRanges(List<String> destIpRanges)
destIpRanges
- destIpRanges or null
for nonepublic List<String> getDestRegionCodes()
null
for nonepublic FirewallPolicyRuleMatcher setDestRegionCodes(List<String> destRegionCodes)
destRegionCodes
- destRegionCodes or null
for nonepublic List<FirewallPolicyRuleMatcherLayer4Config> getLayer4Configs()
null
for nonepublic FirewallPolicyRuleMatcher setLayer4Configs(List<FirewallPolicyRuleMatcherLayer4Config> layer4Configs)
layer4Configs
- layer4Configs or null
for nonepublic List<String> getSrcAddressGroups()
null
for nonepublic FirewallPolicyRuleMatcher setSrcAddressGroups(List<String> srcAddressGroups)
srcAddressGroups
- srcAddressGroups or null
for nonepublic List<String> getSrcFqdns()
null
for nonepublic FirewallPolicyRuleMatcher setSrcFqdns(List<String> srcFqdns)
srcFqdns
- srcFqdns or null
for nonepublic List<String> getSrcIpRanges()
null
for nonepublic FirewallPolicyRuleMatcher setSrcIpRanges(List<String> srcIpRanges)
srcIpRanges
- srcIpRanges or null
for nonepublic List<String> getSrcRegionCodes()
null
for nonepublic FirewallPolicyRuleMatcher setSrcRegionCodes(List<String> srcRegionCodes)
srcRegionCodes
- srcRegionCodes or null
for nonepublic List<FirewallPolicyRuleSecureTag> getSrcSecureTags()
null
for nonepublic FirewallPolicyRuleMatcher setSrcSecureTags(List<FirewallPolicyRuleSecureTag> srcSecureTags)
srcSecureTags
- srcSecureTags or null
for nonepublic FirewallPolicyRuleMatcher set(String fieldName, Object value)
set
in class GenericJson
public FirewallPolicyRuleMatcher clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.