public class GetRolePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetRolePolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetRolePolicyRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getPolicyName()
The name of the policy document to get.
|
String |
getRoleName()
The name of the role associated with the policy.
|
int |
hashCode() |
void |
setPolicyName(String policyName)
The name of the policy document to get.
|
void |
setRoleName(String roleName)
The name of the role associated with the policy.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetRolePolicyRequest |
withPolicyName(String policyName)
The name of the policy document to get.
|
GetRolePolicyRequest |
withRoleName(String roleName)
The name of the role associated with the policy.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setRoleName(String roleName)
The name of the role associated with the policy.
roleName - The name of the role associated with the policy.public String getRoleName()
The name of the role associated with the policy.
public GetRolePolicyRequest withRoleName(String roleName)
The name of the role associated with the policy.
roleName - The name of the role associated with the policy.public void setPolicyName(String policyName)
The name of the policy document to get.
policyName - The name of the policy document to get.public String getPolicyName()
The name of the policy document to get.
public GetRolePolicyRequest withPolicyName(String policyName)
The name of the policy document to get.
policyName - The name of the policy document to get.public String toString()
toString in class ObjectObject.toString()public GetRolePolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.