|
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.DeleteAccessKeyRequest
public class DeleteAccessKeyRequest
Container for the parameters to the DeleteAccessKey operation
.
Deletes the access key associated with the specified user.
If you do not specify a user name, IAM determines the user name implicitly based on the AWS Access Key ID signing the request. Because this action works for access keys under the AWS account, you can use this API to manage root credentials even if the AWS account has no associated users.
AmazonIdentityManagement.deleteAccessKey(DeleteAccessKeyRequest)
,
Serialized FormConstructor Summary | |
---|---|
DeleteAccessKeyRequest()
Default constructor for a new DeleteAccessKeyRequest object. |
|
DeleteAccessKeyRequest(String accessKeyId)
Constructs a new DeleteAccessKeyRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAccessKeyId()
The Access Key ID for the Access Key ID and Secret Access Key you want to delete. |
String |
getUserName()
Name of the user whose key you want to delete. |
int |
hashCode()
|
void |
setAccessKeyId(String accessKeyId)
The Access Key ID for the Access Key ID and Secret Access Key you want to delete. |
void |
setUserName(String userName)
Name of the user whose key you want to delete. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeleteAccessKeyRequest |
withAccessKeyId(String accessKeyId)
The Access Key ID for the Access Key ID and Secret Access Key you want to delete. |
DeleteAccessKeyRequest |
withUserName(String userName)
Name of the user whose key you want to delete. |
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 DeleteAccessKeyRequest()
public DeleteAccessKeyRequest(String accessKeyId)
accessKeyId
- The Access Key ID for the Access Key ID and Secret
Access Key you want 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 whose key you want to delete.public DeleteAccessKeyRequest 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 whose key you want to delete.
public String getAccessKeyId()
Constraints:
Length: 16 - 32
Pattern: [\w]*
public void setAccessKeyId(String accessKeyId)
Constraints:
Length: 16 - 32
Pattern: [\w]*
accessKeyId
- The Access Key ID for the Access Key ID and Secret Access Key you want
to delete.public DeleteAccessKeyRequest withAccessKeyId(String accessKeyId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 16 - 32
Pattern: [\w]*
accessKeyId
- The Access Key ID for the Access Key ID and Secret Access Key you want
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 |