public final class SecurityPolicyAssociation 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 | 
|---|
| SecurityPolicyAssociation() | 
| Modifier and Type | Method and Description | 
|---|---|
| SecurityPolicyAssociation | clone() | 
| String | getAttachmentId()The resource that the security policy is attached to. | 
| String | getDisplayName()[Output Only] The display name of the security policy of the association. | 
| String | getName()The name for an association. | 
| String | getSecurityPolicyId()[Output Only] The security policy ID of the association. | 
| SecurityPolicyAssociation | set(String fieldName,
   Object value) | 
| SecurityPolicyAssociation | setAttachmentId(String attachmentId)The resource that the security policy is attached to. | 
| SecurityPolicyAssociation | setDisplayName(String displayName)[Output Only] The display name of the security policy of the association. | 
| SecurityPolicyAssociation | setName(String name)The name for an association. | 
| SecurityPolicyAssociation | setSecurityPolicyId(String securityPolicyId)[Output Only] The security policy ID of the association. | 
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 getAttachmentId()
null for nonepublic SecurityPolicyAssociation setAttachmentId(String attachmentId)
attachmentId - attachmentId or null for nonepublic String getDisplayName()
null for nonepublic SecurityPolicyAssociation setDisplayName(String displayName)
displayName - displayName or null for nonepublic String getName()
null for nonepublic SecurityPolicyAssociation setName(String name)
name - name or null for nonepublic String getSecurityPolicyId()
null for nonepublic SecurityPolicyAssociation setSecurityPolicyId(String securityPolicyId)
securityPolicyId - securityPolicyId or null for nonepublic SecurityPolicyAssociation set(String fieldName, Object value)
set in class GenericJsonpublic SecurityPolicyAssociation clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.