StructuredPojo, ToCopyableBuilder<PolicyAttachment.Builder,PolicyAttachment>@Generated("software.amazon.awssdk:codegen") public class PolicyAttachment extends Object implements StructuredPojo, 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 | Description |
|---|---|---|
static interface |
PolicyAttachment.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static PolicyAttachment.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller. |
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. |
static Class<? extends PolicyAttachment.Builder> |
serializableBuilderClass() |
|
PolicyAttachment.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String policyId()
The ID of PolicyAttachment.
PolicyAttachment.public String objectIdentifier()
The ObjectIdentifier that is associated with PolicyAttachment.
ObjectIdentifier that is associated with PolicyAttachment.public String policyType()
The type of policy that can be associated with PolicyAttachment.
PolicyAttachment.public PolicyAttachment.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<PolicyAttachment.Builder,PolicyAttachment>public static PolicyAttachment.Builder builder()
public static Class<? extends PolicyAttachment.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.