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() |
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.
|
copyBaseTo, 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()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.