public class DetachRolePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DetachRolePolicyRequest() |
Modifier and Type | Method and Description |
---|---|
DetachRolePolicyRequest |
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 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.
|
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 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 Object
Object.toString()
public DetachRolePolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.