public class DetachRolePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DetachRolePolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
DetachRolePolicyRequest |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyArn() |
String |
getRoleName()
The name (friendly name, not ARN) of the role to detach the policy from.
|
int |
hashCode() |
void |
setPolicyArn(String policyArn) |
void |
setRoleName(String roleName)
The name (friendly name, not ARN) of the role to detach the policy from.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetachRolePolicyRequest |
withPolicyArn(String policyArn) |
DetachRolePolicyRequest |
withRoleName(String roleName)
The name (friendly name, not ARN) of the role to detach the policy from.
|
copyBaseTo, 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 (friendly name, not ARN) of the role to detach the policy from.
roleName - The name (friendly name, not ARN) of the role to detach the policy
from.public String getRoleName()
The name (friendly name, not ARN) of the role to detach the policy from.
public DetachRolePolicyRequest withRoleName(String roleName)
The name (friendly name, not ARN) of the role to detach the policy from.
roleName - The name (friendly name, not ARN) of the role to detach the policy
from.public void setPolicyArn(String policyArn)
policyArn - public String getPolicyArn()
public DetachRolePolicyRequest withPolicyArn(String policyArn)
policyArn - public String toString()
toString in class ObjectObject.toString()public DetachRolePolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.