public class UpdateAccessKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateAccessKeyRequest()
Default constructor for UpdateAccessKeyRequest object.
|
UpdateAccessKeyRequest(String accessKeyId,
StatusType status)
Constructs a new UpdateAccessKeyRequest object.
|
UpdateAccessKeyRequest(String accessKeyId,
String status)
Constructs a new UpdateAccessKeyRequest object.
|
UpdateAccessKeyRequest(String userName,
String accessKeyId,
StatusType status)
Constructs a new UpdateAccessKeyRequest object.
|
UpdateAccessKeyRequest(String userName,
String accessKeyId,
String status)
Constructs a new UpdateAccessKeyRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
UpdateAccessKeyRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAccessKeyId()
The access key ID of the secret access key you want to update.
|
String |
getStatus()
The status you want to assign to the secret access key.
|
String |
getUserName()
The name of the user whose key you want to update.
|
int |
hashCode() |
void |
setAccessKeyId(String accessKeyId)
The access key ID of the secret access key you want to update.
|
void |
setStatus(StatusType status)
The status you want to assign to the secret access key.
|
void |
setStatus(String status)
The status you want to assign to the secret access key.
|
void |
setUserName(String userName)
The name of the user whose key you want to update.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateAccessKeyRequest |
withAccessKeyId(String accessKeyId)
The access key ID of the secret access key you want to update.
|
UpdateAccessKeyRequest |
withStatus(StatusType status)
The status you want to assign to the secret access key.
|
UpdateAccessKeyRequest |
withStatus(String status)
The status you want to assign to the secret access key.
|
UpdateAccessKeyRequest |
withUserName(String userName)
The name of the user whose key you want to update.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic UpdateAccessKeyRequest()
public UpdateAccessKeyRequest(String accessKeyId, String status)
accessKeyId - The access key ID of the secret access key you want to update.status - The status you want to assign to the secret access key.
Active means the key can be used for API calls to
AWS, while Inactive means the key cannot be used.public UpdateAccessKeyRequest(String accessKeyId, StatusType status)
accessKeyId - The access key ID of the secret access key you want to update.status - The status you want to assign to the secret access key.
Active means the key can be used for API calls to
AWS, while Inactive means the key cannot be used.public UpdateAccessKeyRequest(String userName, String accessKeyId, String status)
userName - The name of the user whose key you want to update.accessKeyId - The access key ID of the secret access key you want to update.status - The status you want to assign to the secret access key.
Active means the key can be used for API calls to
AWS, while Inactive means the key cannot be used.public UpdateAccessKeyRequest(String userName, String accessKeyId, StatusType status)
userName - The name of the user whose key you want to update.accessKeyId - The access key ID of the secret access key you want to update.status - The status you want to assign to the secret access key.
Active means the key can be used for API calls to
AWS, while Inactive means the key cannot be used.public void setUserName(String userName)
The name of the user whose key you want to update.
userName - The name of the user whose key you want to update.public String getUserName()
The name of the user whose key you want to update.
public UpdateAccessKeyRequest withUserName(String userName)
The name of the user whose key you want to update.
userName - The name of the user whose key you want to update.public void setAccessKeyId(String accessKeyId)
The access key ID of the secret access key you want to update.
accessKeyId - The access key ID of the secret access key you want to update.public String getAccessKeyId()
The access key ID of the secret access key you want to update.
public UpdateAccessKeyRequest withAccessKeyId(String accessKeyId)
The access key ID of the secret access key you want to update.
accessKeyId - The access key ID of the secret access key you want to update.public void setStatus(String status)
The status you want to assign to the secret access key.
Active means the key can be used for API calls to AWS, while
Inactive means the key cannot be used.
status - The status you want to assign to the secret access key.
Active means the key can be used for API calls to
AWS, while Inactive means the key cannot be used.StatusTypepublic String getStatus()
The status you want to assign to the secret access key.
Active means the key can be used for API calls to AWS, while
Inactive means the key cannot be used.
Active means the key can be used for API calls to
AWS, while Inactive means the key cannot be used.StatusTypepublic UpdateAccessKeyRequest withStatus(String status)
The status you want to assign to the secret access key.
Active means the key can be used for API calls to AWS, while
Inactive means the key cannot be used.
status - The status you want to assign to the secret access key.
Active means the key can be used for API calls to
AWS, while Inactive means the key cannot be used.StatusTypepublic void setStatus(StatusType status)
The status you want to assign to the secret access key.
Active means the key can be used for API calls to AWS, while
Inactive means the key cannot be used.
status - The status you want to assign to the secret access key.
Active means the key can be used for API calls to
AWS, while Inactive means the key cannot be used.StatusTypepublic UpdateAccessKeyRequest withStatus(StatusType status)
The status you want to assign to the secret access key.
Active means the key can be used for API calls to AWS, while
Inactive means the key cannot be used.
status - The status you want to assign to the secret access key.
Active means the key can be used for API calls to
AWS, while Inactive means the key cannot be used.StatusTypepublic String toString()
toString in class ObjectObject.toString()public UpdateAccessKeyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.