@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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.
|
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 UpdateAccessKeyRequest()
public UpdateAccessKeyRequest(String accessKeyId, String status)
accessKeyId
- The access key ID of the secret access key you want to update.
This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
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.
This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
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.
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: =,.@-
accessKeyId
- The access key ID of the secret access key you want to update.
This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
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.
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: =,.@-
accessKeyId
- The access key ID of the secret access key you want to update.
This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
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.
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 of the user whose key you want to update.
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 of the user whose key you want to update.
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 UpdateAccessKeyRequest withUserName(String userName)
The name of the user whose key you want to update.
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 of the user whose key you want to update.
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 setAccessKeyId(String accessKeyId)
The access key ID of the secret access key you want to update.
This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
accessKeyId
- The access key ID of the secret access key you want to update.
This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
public String getAccessKeyId()
The access key ID of the secret access key you want to update.
This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
public UpdateAccessKeyRequest withAccessKeyId(String accessKeyId)
The access key ID of the secret access key you want to update.
This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
accessKeyId
- The access key ID of the secret access key you want to update.
This parameter allows (per its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
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.StatusType
public 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.StatusType
public 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.StatusType
public 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.StatusType
public 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.StatusType
public String toString()
toString
in class Object
Object.toString()
public UpdateAccessKeyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.