public class DeleteRolePolicyRequest extends AmazonWebServiceRequest implements Serializable
DeleteRolePolicy operation.
Deletes the specified policy associated with the specified role.
NOOP| Constructor and Description |
|---|
DeleteRolePolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getPolicyName()
Name of the policy document to delete.
|
String |
getRoleName()
Name of the role the associated with the policy.
|
int |
hashCode() |
void |
setPolicyName(String policyName)
Name of the policy document to delete.
|
void |
setRoleName(String roleName)
Name of the role the associated with the policy.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteRolePolicyRequest |
withPolicyName(String policyName)
Name of the policy document to delete.
|
DeleteRolePolicyRequest |
withRoleName(String roleName)
Name of the role the associated with the policy.
|
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getRoleName()
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
public void setRoleName(String roleName)
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
roleName - Name of the role the associated with the policy.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 - Name of the role the associated with the policy.public String getPolicyName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setPolicyName(String policyName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
policyName - Name of 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 - Name of the policy document to delete.public String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.