target.apidocs.com.google.api.services.compute.model.FirewallPolicyAssociation.html Maven / Gradle / Ivy
FirewallPolicyAssociation (Compute Engine API beta-rev20220726-2.0.0)
com.google.api.services.compute.model
Class FirewallPolicyAssociation
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.compute.model.FirewallPolicyAssociation
-
public final class FirewallPolicyAssociation
extends GenericJson
Model definition for FirewallPolicyAssociation.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
FirewallPolicyAssociation()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
FirewallPolicyAssociation
clone()
String
getAttachmentTarget()
The target that the firewall policy is attached to.
String
getDisplayName()
[Output Only] Deprecated, please use short name instead.
String
getFirewallPolicyId()
[Output Only] The firewall policy ID of the association.
String
getName()
The name for an association.
String
getShortName()
[Output Only] The short name of the firewall policy of the association.
FirewallPolicyAssociation
set(String fieldName,
Object value)
FirewallPolicyAssociation
setAttachmentTarget(String attachmentTarget)
The target that the firewall policy is attached to.
FirewallPolicyAssociation
setDisplayName(String displayName)
[Output Only] Deprecated, please use short name instead.
FirewallPolicyAssociation
setFirewallPolicyId(String firewallPolicyId)
[Output Only] The firewall policy ID of the association.
FirewallPolicyAssociation
setName(String name)
The name for an association.
FirewallPolicyAssociation
setShortName(String shortName)
[Output Only] The short name of the firewall policy of the association.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAttachmentTarget
public String getAttachmentTarget()
The target that the firewall policy is attached to.
- Returns:
- value or
null
for none
-
setAttachmentTarget
public FirewallPolicyAssociation setAttachmentTarget(String attachmentTarget)
The target that the firewall policy is attached to.
- Parameters:
attachmentTarget
- attachmentTarget or null
for none
-
getDisplayName
public String getDisplayName()
[Output Only] Deprecated, please use short name instead. The display name of the firewall
policy of the association.
- Returns:
- value or
null
for none
-
setDisplayName
public FirewallPolicyAssociation setDisplayName(String displayName)
[Output Only] Deprecated, please use short name instead. The display name of the firewall
policy of the association.
- Parameters:
displayName
- displayName or null
for none
-
getFirewallPolicyId
public String getFirewallPolicyId()
[Output Only] The firewall policy ID of the association.
- Returns:
- value or
null
for none
-
setFirewallPolicyId
public FirewallPolicyAssociation setFirewallPolicyId(String firewallPolicyId)
[Output Only] The firewall policy ID of the association.
- Parameters:
firewallPolicyId
- firewallPolicyId or null
for none
-
getName
public String getName()
The name for an association.
- Returns:
- value or
null
for none
-
setName
public FirewallPolicyAssociation setName(String name)
The name for an association.
- Parameters:
name
- name or null
for none
-
getShortName
public String getShortName()
[Output Only] The short name of the firewall policy of the association.
- Returns:
- value or
null
for none
-
setShortName
public FirewallPolicyAssociation setShortName(String shortName)
[Output Only] The short name of the firewall policy of the association.
- Parameters:
shortName
- shortName or null
for none
-
set
public FirewallPolicyAssociation set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public FirewallPolicyAssociation clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy