public final class FirewallRule
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 App Engine Admin 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 |
|---|
FirewallRule() |
| Modifier and Type | Method and Description |
|---|---|
FirewallRule |
clone() |
String |
getAction()
The action to take on matched requests.
|
String |
getDescription()
An optional string description of this rule.
|
Integer |
getPriority()
A positive integer between 1, Int32.MaxValue-1 that defines the order of rule evaluation.
|
String |
getSourceRange()
IP address or range, defined using CIDR notation, of requests that this rule applies to.
|
FirewallRule |
set(String fieldName,
Object value) |
FirewallRule |
setAction(String action)
The action to take on matched requests.
|
FirewallRule |
setDescription(String description)
An optional string description of this rule.
|
FirewallRule |
setPriority(Integer priority)
A positive integer between 1, Int32.MaxValue-1 that defines the order of rule evaluation.
|
FirewallRule |
setSourceRange(String sourceRange)
IP address or range, defined using CIDR notation, of requests that this rule applies to.
|
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 FirewallRule setAction(String action)
action - action or null for nonepublic String getDescription()
null for nonepublic FirewallRule setDescription(String description)
description - description or null for nonepublic Integer getPriority()
null for nonepublic FirewallRule setPriority(Integer priority)
priority - priority or null for nonepublic String getSourceRange()
null for nonepublic FirewallRule setSourceRange(String sourceRange)
sourceRange - sourceRange or null for nonepublic FirewallRule set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic FirewallRule clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.