@Generated(value="software.amazon.awssdk:codegen") public final class PolicyAttachment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PolicyAttachment.Builder,PolicyAttachment>
Contains the PolicyType, PolicyId, and the ObjectIdentifier to which it is
attached. For more information, see Policies.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PolicyAttachment.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PolicyAttachment.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
objectIdentifier()
The
ObjectIdentifier that is associated with PolicyAttachment. |
String |
policyId()
The ID of
PolicyAttachment. |
String |
policyType()
The type of policy that can be associated with
PolicyAttachment. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PolicyAttachment.Builder> |
serializableBuilderClass() |
PolicyAttachment.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String policyId()
The ID of PolicyAttachment.
PolicyAttachment.public final String objectIdentifier()
The ObjectIdentifier that is associated with PolicyAttachment.
ObjectIdentifier that is associated with PolicyAttachment.public final String policyType()
The type of policy that can be associated with PolicyAttachment.
PolicyAttachment.public PolicyAttachment.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PolicyAttachment.Builder,PolicyAttachment>public static PolicyAttachment.Builder builder()
public static Class<? extends PolicyAttachment.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.