@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteUserPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteUserPolicyRequest()
Default constructor for DeleteUserPolicyRequest object.
|
DeleteUserPolicyRequest(String userName,
String policyName)
Constructs a new DeleteUserPolicyRequest object.
|
Modifier and Type | Method and Description |
---|---|
DeleteUserPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getPolicyName()
The name identifying the policy document to delete.
|
String |
getUserName()
The name (friendly name, not ARN) identifying the user that the policy is embedded in.
|
int |
hashCode() |
void |
setPolicyName(String policyName)
The name identifying the policy document to delete.
|
void |
setUserName(String userName)
The name (friendly name, not ARN) identifying the user that the policy is embedded in.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeleteUserPolicyRequest |
withPolicyName(String policyName)
The name identifying the policy document to delete.
|
DeleteUserPolicyRequest |
withUserName(String userName)
The name (friendly name, not ARN) identifying the user that the policy is embedded in.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public DeleteUserPolicyRequest()
public DeleteUserPolicyRequest(String userName, String policyName)
userName
- The name (friendly name, not ARN) identifying the user that the policy is embedded in.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
policyName
- The name identifying the policy document to delete.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-+
public void setUserName(String userName)
The name (friendly name, not ARN) identifying the user that the policy is embedded in.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
userName
- The name (friendly name, not ARN) identifying the user that the policy is embedded in.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public String getUserName()
The name (friendly name, not ARN) identifying the user that the policy is embedded in.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public DeleteUserPolicyRequest withUserName(String userName)
The name (friendly name, not ARN) identifying the user that the policy is embedded in.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
userName
- The name (friendly name, not ARN) identifying the user that the policy is embedded in.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public void setPolicyName(String policyName)
The name identifying the policy document to delete.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-+
policyName
- The name identifying the policy document to delete.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-+
public String getPolicyName()
The name identifying the policy document to delete.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-+
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-+
public DeleteUserPolicyRequest withPolicyName(String policyName)
The name identifying the policy document to delete.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-+
policyName
- The name identifying the policy document to delete.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-+
public String toString()
toString
in class Object
Object.toString()
public DeleteUserPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.