public final class SecurityPolicyRule 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 |
|---|
SecurityPolicyRule() |
| Modifier and Type | Method and Description |
|---|---|
SecurityPolicyRule |
clone() |
String |
getAction()
The Action to preform when the client connection triggers the rule.
|
String |
getDescription()
An optional description of this resource.
|
String |
getKind()
[Output only] Type of the resource.
|
SecurityPolicyRuleMatcher |
getMatch()
A match condition that incoming traffic is evaluated against.
|
Boolean |
getPreview()
If set to true, the specified action is not enforced.
|
Integer |
getPriority()
An integer indicating the priority of a rule in the list.
|
SecurityPolicyRule |
set(String fieldName,
Object value) |
SecurityPolicyRule |
setAction(String action)
The Action to preform when the client connection triggers the rule.
|
SecurityPolicyRule |
setDescription(String description)
An optional description of this resource.
|
SecurityPolicyRule |
setKind(String kind)
[Output only] Type of the resource.
|
SecurityPolicyRule |
setMatch(SecurityPolicyRuleMatcher match)
A match condition that incoming traffic is evaluated against.
|
SecurityPolicyRule |
setPreview(Boolean preview)
If set to true, the specified action is not enforced.
|
SecurityPolicyRule |
setPriority(Integer priority)
An integer indicating the priority of a rule in the list.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, 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 SecurityPolicyRule setAction(String action)
action - action or null for nonepublic String getDescription()
null for nonepublic SecurityPolicyRule setDescription(String description)
description - description or null for nonepublic String getKind()
null for nonepublic SecurityPolicyRule setKind(String kind)
kind - kind or null for nonepublic SecurityPolicyRuleMatcher getMatch()
null for nonepublic SecurityPolicyRule setMatch(SecurityPolicyRuleMatcher match)
match - match or null for nonepublic Boolean getPreview()
null for nonepublic SecurityPolicyRule setPreview(Boolean preview)
preview - preview or null for nonepublic Integer getPriority()
null for nonepublic SecurityPolicyRule setPriority(Integer priority)
priority - priority or null for nonepublic SecurityPolicyRule set(String fieldName, Object value)
set in class GenericJsonpublic SecurityPolicyRule clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.