public class CreateAccessKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateAccessKeyRequest()
Default constructor for CreateAccessKeyRequest object.
|
CreateAccessKeyRequest(String userName)
Constructs a new CreateAccessKeyRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
CreateAccessKeyRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getUserName()
The user name that the new key will belong to.
|
int |
hashCode() |
void |
setUserName(String userName)
The user name that the new key will belong to.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateAccessKeyRequest |
withUserName(String userName)
The user name that the new key will belong to.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic CreateAccessKeyRequest()
public CreateAccessKeyRequest(String userName)
userName - The user name that the new key will belong to.public void setUserName(String userName)
The user name that the new key will belong to.
userName - The user name that the new key will belong to.public String getUserName()
The user name that the new key will belong to.
public CreateAccessKeyRequest withUserName(String userName)
The user name that the new key will belong to.
userName - The user name that the new key will belong to.public String toString()
toString in class ObjectObject.toString()public CreateAccessKeyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.