@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchDetachPolicy extends Object implements Serializable, Cloneable, StructuredPojo
Detaches the specified policy from the specified directory inside a BatchWrite operation. For more information, see DetachPolicy and BatchWriteRequest$Operations.
| Constructor and Description |
|---|
BatchDetachPolicy() |
| Modifier and Type | Method and Description |
|---|---|
BatchDetachPolicy |
clone() |
boolean |
equals(Object obj) |
ObjectReference |
getObjectReference()
Reference that identifies the object whose policy object will be detached.
|
ObjectReference |
getPolicyReference()
Reference that identifies the policy object.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setObjectReference(ObjectReference objectReference)
Reference that identifies the object whose policy object will be detached.
|
void |
setPolicyReference(ObjectReference policyReference)
Reference that identifies the policy object.
|
String |
toString()
Returns a string representation of this object.
|
BatchDetachPolicy |
withObjectReference(ObjectReference objectReference)
Reference that identifies the object whose policy object will be detached.
|
BatchDetachPolicy |
withPolicyReference(ObjectReference policyReference)
Reference that identifies the policy object.
|
public void setPolicyReference(ObjectReference policyReference)
Reference that identifies the policy object.
policyReference - Reference that identifies the policy object.public ObjectReference getPolicyReference()
Reference that identifies the policy object.
public BatchDetachPolicy withPolicyReference(ObjectReference policyReference)
Reference that identifies the policy object.
policyReference - Reference that identifies the policy object.public void setObjectReference(ObjectReference objectReference)
Reference that identifies the object whose policy object will be detached.
objectReference - Reference that identifies the object whose policy object will be detached.public ObjectReference getObjectReference()
Reference that identifies the object whose policy object will be detached.
public BatchDetachPolicy withObjectReference(ObjectReference objectReference)
Reference that identifies the object whose policy object will be detached.
objectReference - Reference that identifies the object whose policy object will be detached.public String toString()
toString in class ObjectObject.toString()public BatchDetachPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.