@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyAttachment extends Object implements Serializable, Cloneable, StructuredPojo
Contains the PolicyType, PolicyId, and the ObjectIdentifier to which it is
attached.
| Constructor and Description |
|---|
PolicyAttachment() |
| Modifier and Type | Method and Description |
|---|---|
PolicyAttachment |
clone() |
boolean |
equals(Object obj) |
String |
getObjectIdentifier()
The
ObjectIdentifier associated with PolicyAttachment. |
String |
getPolicyId()
The ID of
PolicyAttachment. |
String |
getPolicyType()
The type of policy that can be associated with
PolicyAttachment. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setObjectIdentifier(String objectIdentifier)
The
ObjectIdentifier associated with PolicyAttachment. |
void |
setPolicyId(String policyId)
The ID of
PolicyAttachment. |
void |
setPolicyType(String policyType)
The type of policy that can be associated with
PolicyAttachment. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PolicyAttachment |
withObjectIdentifier(String objectIdentifier)
The
ObjectIdentifier associated with PolicyAttachment. |
PolicyAttachment |
withPolicyId(String policyId)
The ID of
PolicyAttachment. |
PolicyAttachment |
withPolicyType(String policyType)
The type of policy that can be associated with
PolicyAttachment. |
public void setPolicyId(String policyId)
The ID of PolicyAttachment.
policyId - The ID of PolicyAttachment.public String getPolicyId()
The ID of PolicyAttachment.
PolicyAttachment.public PolicyAttachment withPolicyId(String policyId)
The ID of PolicyAttachment.
policyId - The ID of PolicyAttachment.public void setObjectIdentifier(String objectIdentifier)
The ObjectIdentifier associated with PolicyAttachment.
objectIdentifier - The ObjectIdentifier associated with PolicyAttachment.public String getObjectIdentifier()
The ObjectIdentifier associated with PolicyAttachment.
ObjectIdentifier associated with PolicyAttachment.public PolicyAttachment withObjectIdentifier(String objectIdentifier)
The ObjectIdentifier associated with PolicyAttachment.
objectIdentifier - The ObjectIdentifier associated with PolicyAttachment.public void setPolicyType(String policyType)
The type of policy that can be associated with PolicyAttachment.
policyType - The type of policy that can be associated with PolicyAttachment.public String getPolicyType()
The type of policy that can be associated with PolicyAttachment.
PolicyAttachment.public PolicyAttachment withPolicyType(String policyType)
The type of policy that can be associated with PolicyAttachment.
policyType - The type of policy that can be associated with PolicyAttachment.public String toString()
toString in class ObjectObject.toString()public PolicyAttachment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.