public final class FirewallPolicy 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 | 
|---|
| FirewallPolicy() | 
| Modifier and Type | Method and Description | 
|---|---|
| FirewallPolicy | clone() | 
| byte[] | decodeFingerprint()Specifies a fingerprint for this resource, which is essentially a hash of the metadata's
 contents and used for optimistic locking. | 
| FirewallPolicy | encodeFingerprint(byte[] fingerprint)Specifies a fingerprint for this resource, which is essentially a hash of the metadata's
 contents and used for optimistic locking. | 
| List<FirewallPolicyAssociation> | getAssociations()A list of associations that belong to this firewall policy. | 
| String | getCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format. | 
| String | getDescription()An optional description of this resource. | 
| String | getDisplayName()Deprecated, please use short name instead. | 
| String | getFingerprint()Specifies a fingerprint for this resource, which is essentially a hash of the metadata's
 contents and used for optimistic locking. | 
| BigInteger | getId()[Output Only] The unique identifier for the resource. | 
| String | getKind()[Output only] Type of the resource. | 
| String | getName()[Output Only] Name of the resource. | 
| String | getParent()[Output Only] The parent of the firewall policy. | 
| String | getRegion()[Output Only] URL of the region where the regional firewall policy resides. | 
| List<FirewallPolicyRule> | getRules()A list of rules that belong to this policy. | 
| Integer | getRuleTupleCount()[Output Only] Total count of all firewall policy rule tuples. | 
| String | getSelfLink()[Output Only] Server-defined URL for the resource. | 
| String | getSelfLinkWithId()[Output Only] Server-defined URL for this resource with the resource id. | 
| String | getShortName()User-provided name of the Organization firewall plicy. | 
| FirewallPolicy | set(String fieldName,
   Object value) | 
| FirewallPolicy | setAssociations(List<FirewallPolicyAssociation> associations)A list of associations that belong to this firewall policy. | 
| FirewallPolicy | setCreationTimestamp(String creationTimestamp)[Output Only] Creation timestamp in RFC3339 text format. | 
| FirewallPolicy | setDescription(String description)An optional description of this resource. | 
| FirewallPolicy | setDisplayName(String displayName)Deprecated, please use short name instead. | 
| FirewallPolicy | setFingerprint(String fingerprint)Specifies a fingerprint for this resource, which is essentially a hash of the metadata's
 contents and used for optimistic locking. | 
| FirewallPolicy | setId(BigInteger id)[Output Only] The unique identifier for the resource. | 
| FirewallPolicy | setKind(String kind)[Output only] Type of the resource. | 
| FirewallPolicy | setName(String name)[Output Only] Name of the resource. | 
| FirewallPolicy | setParent(String parent)[Output Only] The parent of the firewall policy. | 
| FirewallPolicy | setRegion(String region)[Output Only] URL of the region where the regional firewall policy resides. | 
| FirewallPolicy | setRules(List<FirewallPolicyRule> rules)A list of rules that belong to this policy. | 
| FirewallPolicy | setRuleTupleCount(Integer ruleTupleCount)[Output Only] Total count of all firewall policy rule tuples. | 
| FirewallPolicy | setSelfLink(String selfLink)[Output Only] Server-defined URL for the resource. | 
| FirewallPolicy | setSelfLinkWithId(String selfLinkWithId)[Output Only] Server-defined URL for this resource with the resource id. | 
| FirewallPolicy | setShortName(String shortName)User-provided name of the Organization firewall plicy. | 
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 List<FirewallPolicyAssociation> getAssociations()
null for nonepublic FirewallPolicy setAssociations(List<FirewallPolicyAssociation> associations)
associations - associations or null for nonepublic String getCreationTimestamp()
null for nonepublic FirewallPolicy setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic FirewallPolicy setDescription(String description)
description - description or null for nonepublic String getDisplayName()
null for nonepublic FirewallPolicy setDisplayName(String displayName)
displayName - displayName or null for nonepublic String getFingerprint()
null for nonedecodeFingerprint()public byte[] decodeFingerprint()
null for nonegetFingerprint()public FirewallPolicy setFingerprint(String fingerprint)
fingerprint - fingerprint or null for none#encodeFingerprint()public FirewallPolicy encodeFingerprint(byte[] fingerprint)
 The value is encoded Base64 or {@code null} for none.
 
public BigInteger getId()
null for nonepublic FirewallPolicy setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic FirewallPolicy setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic FirewallPolicy setName(String name)
name - name or null for nonepublic String getParent()
null for nonepublic FirewallPolicy setParent(String parent)
parent - parent or null for nonepublic String getRegion()
null for nonepublic FirewallPolicy setRegion(String region)
region - region or null for nonepublic Integer getRuleTupleCount()
null for nonepublic FirewallPolicy setRuleTupleCount(Integer ruleTupleCount)
ruleTupleCount - ruleTupleCount or null for nonepublic List<FirewallPolicyRule> getRules()
null for nonepublic FirewallPolicy setRules(List<FirewallPolicyRule> rules)
rules - rules or null for nonepublic String getSelfLink()
null for nonepublic FirewallPolicy setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getSelfLinkWithId()
null for nonepublic FirewallPolicy setSelfLinkWithId(String selfLinkWithId)
selfLinkWithId - selfLinkWithId or null for nonepublic String getShortName()
null for nonepublic FirewallPolicy setShortName(String shortName)
shortName - shortName or null for nonepublic FirewallPolicy set(String fieldName, Object value)
set in class GenericJsonpublic FirewallPolicy clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.