public class DeleteUserPolicyRequest extends AmazonWebServiceRequest implements java.io.Serializable
DeleteUserPolicy operation.
Deletes the specified policy associated with the specified user.
| コンストラクタと説明 |
|---|
DeleteUserPolicyRequest()
Default constructor for a new DeleteUserPolicyRequest object.
|
DeleteUserPolicyRequest(java.lang.String userName,
java.lang.String policyName)
Constructs a new DeleteUserPolicyRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPolicyName()
Name of the policy document to delete.
|
java.lang.String |
getUserName()
Name of the user the policy is associated with.
|
int |
hashCode() |
void |
setPolicyName(java.lang.String policyName)
Name of the policy document to delete.
|
void |
setUserName(java.lang.String userName)
Name of the user the policy is associated with.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteUserPolicyRequest |
withPolicyName(java.lang.String policyName)
Name of the policy document to delete.
|
DeleteUserPolicyRequest |
withUserName(java.lang.String userName)
Name of the user the policy is associated with.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic DeleteUserPolicyRequest()
public DeleteUserPolicyRequest(java.lang.String userName,
java.lang.String policyName)
userName - Name of the user the policy is associated with.policyName - Name of the policy document to delete.public java.lang.String getUserName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setUserName(java.lang.String userName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName - Name of the user the policy is associated with.public DeleteUserPolicyRequest withUserName(java.lang.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 java.lang.String getPolicyName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setPolicyName(java.lang.String policyName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
policyName - Name of the policy document to delete.public DeleteUserPolicyRequest withPolicyName(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object