@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetachPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DetachPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
DetachPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDirectoryArn()
The Amazon Resource Name (ARN) that is associated with the Directory where both objects reside.
|
ObjectReference |
getObjectReference()
Reference that identifies the object whose policy object will be detached.
|
ObjectReference |
getPolicyReference()
Reference that identifies the policy object.
|
int |
hashCode() |
void |
setDirectoryArn(String directoryArn)
The Amazon Resource Name (ARN) that is associated with the Directory where both objects reside.
|
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; useful for testing and debugging.
|
DetachPolicyRequest |
withDirectoryArn(String directoryArn)
The Amazon Resource Name (ARN) that is associated with the Directory where both objects reside.
|
DetachPolicyRequest |
withObjectReference(ObjectReference objectReference)
Reference that identifies the object whose policy object will be detached.
|
DetachPolicyRequest |
withPolicyReference(ObjectReference policyReference)
Reference that identifies the policy object.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setDirectoryArn(String directoryArn)
public String getDirectoryArn()
public DetachPolicyRequest withDirectoryArn(String directoryArn)
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 DetachPolicyRequest 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 DetachPolicyRequest 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 DetachPolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.