|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.identitymanagement.model.DeleteUserPolicyRequest
public class DeleteUserPolicyRequest
Container for the parameters to the DeleteUserPolicy operation
.
Deletes the specified policy associated with the specified user.
AmazonIdentityManagement.deleteUserPolicy(DeleteUserPolicyRequest)
,
Serialized FormConstructor Summary | |
---|---|
DeleteUserPolicyRequest()
Default constructor for a new DeleteUserPolicyRequest object. |
|
DeleteUserPolicyRequest(String userName,
String policyName)
Constructs a new DeleteUserPolicyRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getPolicyName()
Name of the policy document to delete. |
String |
getUserName()
Name of the user the policy is associated with. |
int |
hashCode()
|
void |
setPolicyName(String policyName)
Name of the policy document to delete. |
void |
setUserName(String userName)
Name of the user the policy is associated with. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeleteUserPolicyRequest |
withPolicyName(String policyName)
Name of the policy document to delete. |
DeleteUserPolicyRequest |
withUserName(String userName)
Name of the user the policy is associated with. |
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 |
---|
public DeleteUserPolicyRequest()
public DeleteUserPolicyRequest(String userName, String policyName)
userName
- Name of the user the policy is associated with.policyName
- Name of the policy document to delete.Method Detail |
---|
public String getUserName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setUserName(String userName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName
- Name of the user the policy is associated with.public DeleteUserPolicyRequest withUserName(String userName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName
- Name of the user the policy is associated with.
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 DeleteUserPolicyRequest 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 Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |