@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
AttachPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
AttachPolicyRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDirectoryArn()
ARN associated with the Directory where both objects reside.
|
ObjectReference |
getObjectReference()
Reference that identifies the object to which the policy will be attached.
|
ObjectReference |
getPolicyReference()
Reference associated with the policy object.
|
int |
hashCode() |
void |
setDirectoryArn(String directoryArn)
ARN associated with the Directory where both objects reside.
|
void |
setObjectReference(ObjectReference objectReference)
Reference that identifies the object to which the policy will be attached.
|
void |
setPolicyReference(ObjectReference policyReference)
Reference associated with the policy object.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AttachPolicyRequest |
withDirectoryArn(String directoryArn)
ARN associated with the Directory where both objects reside.
|
AttachPolicyRequest |
withObjectReference(ObjectReference objectReference)
Reference that identifies the object to which the policy will be attached.
|
AttachPolicyRequest |
withPolicyReference(ObjectReference policyReference)
Reference associated with the policy object.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setDirectoryArn(String directoryArn)
public String getDirectoryArn()
public AttachPolicyRequest withDirectoryArn(String directoryArn)
public void setPolicyReference(ObjectReference policyReference)
Reference associated with the policy object.
policyReference - Reference associated with the policy object.public ObjectReference getPolicyReference()
Reference associated with the policy object.
public AttachPolicyRequest withPolicyReference(ObjectReference policyReference)
Reference associated with the policy object.
policyReference - Reference associated with the policy object.public void setObjectReference(ObjectReference objectReference)
Reference that identifies the object to which the policy will be attached.
objectReference - Reference that identifies the object to which the policy will be attached.public ObjectReference getObjectReference()
Reference that identifies the object to which the policy will be attached.
public AttachPolicyRequest withObjectReference(ObjectReference objectReference)
Reference that identifies the object to which the policy will be attached.
objectReference - Reference that identifies the object to which the policy will be attached.public String toString()
toString in class ObjectObject.toString()public AttachPolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.