Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.identitymanagement.model
Class DeleteRolePolicyRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.identitymanagement.model.DeleteRolePolicyRequest

public class DeleteRolePolicyRequest
extends AmazonWebServiceRequest

Container for the parameters to the DeleteRolePolicy operation.

Deletes the specified policy associated with the specified role.

See Also:
AmazonIdentityManagement.deleteRolePolicy(DeleteRolePolicyRequest)

Constructor Summary
DeleteRolePolicyRequest()
           
 
Method Summary
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteRolePolicyRequest

public DeleteRolePolicyRequest()
Method Detail

getRoleName

public String getRoleName()
Name of the role the associated with the policy.

Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*

Returns:
Name of the role the associated with the policy.

setRoleName

public void setRoleName(String roleName)
Name of the role the associated with the policy.

Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*

Parameters:
roleName - Name of the role the associated with the policy.

withRoleName

public DeleteRolePolicyRequest withRoleName(String roleName)
Name of the role the associated with the policy.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*

Parameters:
roleName - Name of the role the associated with the policy.
Returns:
A reference to this updated object so that method calls can be chained together.

getPolicyName

public String getPolicyName()
Name of the policy document to delete.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Returns:
Name of the policy document to delete.

setPolicyName

public void setPolicyName(String policyName)
Name of the policy document to delete.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
policyName - Name of the policy document to delete.

withPolicyName

public DeleteRolePolicyRequest withPolicyName(String policyName)
Name of the policy document to delete.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
policyName - Name of the policy document to delete.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.