@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getUserName()
 The name of the IAM user that the new key will belong to. | 
| int | hashCode() | 
| void | setUserName(String userName)
 The name of the IAM user that the new key will belong to. | 
| String | toString()Returns a string representation of this object. | 
| CreateAccessKeyRequest | withUserName(String userName)
 The name of the IAM user that the new key will belong to. | 
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, withSdkRequestTimeoutpublic CreateAccessKeyRequest()
public CreateAccessKeyRequest(String userName)
userName - The name of the IAM user that the new key will belong to.
        This parameter allows (through 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 setUserName(String userName)
The name of the IAM user that the new key will belong to.
This parameter allows (through 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 IAM user that the new key will belong to.
        This parameter allows (through 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 IAM user that the new key will belong to.
This parameter allows (through 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 (through 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 CreateAccessKeyRequest withUserName(String userName)
The name of the IAM user that the new key will belong to.
This parameter allows (through 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 IAM user that the new key will belong to.
        This parameter allows (through 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 toString()
toString in class ObjectObject.toString()public CreateAccessKeyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()