public class DeleteRolePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteRolePolicy operation.
Deletes the specified inline policy that is embedded in the specified role.
A role can also have managed policies attached to it. To detach a managed policy from a role, use DetachRolePolicy. For more information about policies, refer to Managed Policies and Inline Policies in the IAM User Guide .
NOOP| Constructor and Description |
|---|
DeleteRolePolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteRolePolicyRequest |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyName()
The name identifying the policy document to delete.
|
String |
getRoleName()
The name (friendly name, not ARN) identifying the role that the policy
is embedded in.
|
int |
hashCode() |
void |
setPolicyName(String policyName)
The name identifying the policy document to delete.
|
void |
setRoleName(String roleName)
The name (friendly name, not ARN) identifying the role that the policy
is embedded in.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteRolePolicyRequest |
withPolicyName(String policyName)
The name identifying the policy document to delete.
|
DeleteRolePolicyRequest |
withRoleName(String roleName)
The name (friendly name, not ARN) identifying the role that the policy
is embedded in.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getRoleName()
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]+
public void setRoleName(String roleName)
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]+
roleName - The name (friendly name, not ARN) identifying the role that the policy
is embedded in.public DeleteRolePolicyRequest withRoleName(String roleName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]+
roleName - The name (friendly name, not ARN) identifying the role that the policy
is embedded in.public String getPolicyName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
public void setPolicyName(String policyName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
policyName - The name identifying the policy document to delete.public DeleteRolePolicyRequest withPolicyName(String policyName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
policyName - The name identifying the policy document to delete.public String toString()
toString in class ObjectObject.toString()public DeleteRolePolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.