@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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 Object
Object.toString()
public AttachPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.