public class AttachRolePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AttachRolePolicyRequest() |
Modifier and Type | Method and Description |
---|---|
AttachRolePolicyRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getPolicyArn() |
String |
getRoleName()
The name (friendly name, not ARN) of the role to attach the policy to.
|
int |
hashCode() |
void |
setPolicyArn(String policyArn) |
void |
setRoleName(String roleName)
The name (friendly name, not ARN) of the role to attach the policy to.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AttachRolePolicyRequest |
withPolicyArn(String policyArn) |
AttachRolePolicyRequest |
withRoleName(String roleName)
The name (friendly name, not ARN) of the role to attach the policy to.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRoleName(String roleName)
The name (friendly name, not ARN) of the role to attach the policy to.
roleName
- The name (friendly name, not ARN) of the role to attach the policy
to.public String getRoleName()
The name (friendly name, not ARN) of the role to attach the policy to.
public AttachRolePolicyRequest withRoleName(String roleName)
The name (friendly name, not ARN) of the role to attach the policy to.
roleName
- The name (friendly name, not ARN) of the role to attach the policy
to.public void setPolicyArn(String policyArn)
policyArn
- public String getPolicyArn()
public AttachRolePolicyRequest withPolicyArn(String policyArn)
policyArn
- public String toString()
toString
in class Object
Object.toString()
public AttachRolePolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.