public final class FirewallPolicyRule 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 | 
|---|
| FirewallPolicyRule() | 
| Modifier and Type | Method and Description | 
|---|---|
| FirewallPolicyRule | clone() | 
| String | getAction()The Action to perform when the client connection triggers the rule. | 
| String | getDescription()An optional description for this resource. | 
| String | getDirection()The direction in which this rule applies. | 
| Boolean | getDisabled()Denotes whether the firewall policy rule is disabled. | 
| Boolean | getEnableLogging()Denotes whether to enable logging for a particular rule. | 
| String | getKind()[Output only] Type of the resource. | 
| FirewallPolicyRuleMatcher | getMatch()A match condition that incoming traffic is evaluated against. | 
| Integer | getPriority()An integer indicating the priority of a rule in the list. | 
| String | getRuleName()An optional name for the rule. | 
| Integer | getRuleTupleCount()[Output Only] Calculation of the complexity of a single firewall policy rule. | 
| List<String> | getTargetResources()A list of network resource URLs to which this rule applies. | 
| List<FirewallPolicyRuleSecureTag> | getTargetSecureTags()A list of secure tags that controls which instances the firewall rule applies to. | 
| List<String> | getTargetServiceAccounts()A list of service accounts indicating the sets of instances that are applied with this rule. | 
| FirewallPolicyRule | set(String fieldName,
   Object value) | 
| FirewallPolicyRule | setAction(String action)The Action to perform when the client connection triggers the rule. | 
| FirewallPolicyRule | setDescription(String description)An optional description for this resource. | 
| FirewallPolicyRule | setDirection(String direction)The direction in which this rule applies. | 
| FirewallPolicyRule | setDisabled(Boolean disabled)Denotes whether the firewall policy rule is disabled. | 
| FirewallPolicyRule | setEnableLogging(Boolean enableLogging)Denotes whether to enable logging for a particular rule. | 
| FirewallPolicyRule | setKind(String kind)[Output only] Type of the resource. | 
| FirewallPolicyRule | setMatch(FirewallPolicyRuleMatcher match)A match condition that incoming traffic is evaluated against. | 
| FirewallPolicyRule | setPriority(Integer priority)An integer indicating the priority of a rule in the list. | 
| FirewallPolicyRule | setRuleName(String ruleName)An optional name for the rule. | 
| FirewallPolicyRule | setRuleTupleCount(Integer ruleTupleCount)[Output Only] Calculation of the complexity of a single firewall policy rule. | 
| FirewallPolicyRule | setTargetResources(List<String> targetResources)A list of network resource URLs to which this rule applies. | 
| FirewallPolicyRule | setTargetSecureTags(List<FirewallPolicyRuleSecureTag> targetSecureTags)A list of secure tags that controls which instances the firewall rule applies to. | 
| FirewallPolicyRule | setTargetServiceAccounts(List<String> targetServiceAccounts)A list of service accounts indicating the sets of instances that are applied with this rule. | 
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 getAction()
null for nonepublic FirewallPolicyRule setAction(String action)
action - action or null for nonepublic String getDescription()
null for nonepublic FirewallPolicyRule setDescription(String description)
description - description or null for nonepublic String getDirection()
null for nonepublic FirewallPolicyRule setDirection(String direction)
direction - direction or null for nonepublic Boolean getDisabled()
null for nonepublic FirewallPolicyRule setDisabled(Boolean disabled)
disabled - disabled or null for nonepublic Boolean getEnableLogging()
null for nonepublic FirewallPolicyRule setEnableLogging(Boolean enableLogging)
enableLogging - enableLogging or null for nonepublic String getKind()
null for nonepublic FirewallPolicyRule setKind(String kind)
kind - kind or null for nonepublic FirewallPolicyRuleMatcher getMatch()
null for nonepublic FirewallPolicyRule setMatch(FirewallPolicyRuleMatcher match)
match - match or null for nonepublic Integer getPriority()
null for nonepublic FirewallPolicyRule setPriority(Integer priority)
priority - priority or null for nonepublic String getRuleName()
null for nonepublic FirewallPolicyRule setRuleName(String ruleName)
ruleName - ruleName or null for nonepublic Integer getRuleTupleCount()
null for nonepublic FirewallPolicyRule setRuleTupleCount(Integer ruleTupleCount)
ruleTupleCount - ruleTupleCount or null for nonepublic List<String> getTargetResources()
null for nonepublic FirewallPolicyRule setTargetResources(List<String> targetResources)
targetResources - targetResources or null for nonepublic List<FirewallPolicyRuleSecureTag> getTargetSecureTags()
null for nonepublic FirewallPolicyRule setTargetSecureTags(List<FirewallPolicyRuleSecureTag> targetSecureTags)
targetSecureTags - targetSecureTags or null for nonepublic List<String> getTargetServiceAccounts()
null for nonepublic FirewallPolicyRule setTargetServiceAccounts(List<String> targetServiceAccounts)
targetServiceAccounts - targetServiceAccounts or null for nonepublic FirewallPolicyRule set(String fieldName, Object value)
set in class GenericJsonpublic FirewallPolicyRule clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.