@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateUserRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateUserRequest() |
Modifier and Type | Method and Description |
---|---|
CreateUserRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
A unique, user-specified identifier for this request that ensures idempotency.
|
String |
getEmail()
The email address for the user.
|
String |
getFirstName()
The first name for the user.
|
String |
getLastName()
The last name for the user.
|
List<Tag> |
getTags()
The tags for the user.
|
String |
getUserId()
The ARN for the user.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
A unique, user-specified identifier for this request that ensures idempotency.
|
void |
setEmail(String email)
The email address for the user.
|
void |
setFirstName(String firstName)
The first name for the user.
|
void |
setLastName(String lastName)
The last name for the user.
|
void |
setTags(Collection<Tag> tags)
The tags for the user.
|
void |
setUserId(String userId)
The ARN for the user.
|
String |
toString()
Returns a string representation of this object.
|
CreateUserRequest |
withClientRequestToken(String clientRequestToken)
A unique, user-specified identifier for this request that ensures idempotency.
|
CreateUserRequest |
withEmail(String email)
The email address for the user.
|
CreateUserRequest |
withFirstName(String firstName)
The first name for the user.
|
CreateUserRequest |
withLastName(String lastName)
The last name for the user.
|
CreateUserRequest |
withTags(Collection<Tag> tags)
The tags for the user.
|
CreateUserRequest |
withTags(Tag... tags)
The tags for the user.
|
CreateUserRequest |
withUserId(String userId)
The ARN for the user.
|
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 void setUserId(String userId)
The ARN for the user.
userId
- The ARN for the user.public String getUserId()
The ARN for the user.
public CreateUserRequest withUserId(String userId)
The ARN for the user.
userId
- The ARN for the user.public void setFirstName(String firstName)
The first name for the user.
firstName
- The first name for the user.public String getFirstName()
The first name for the user.
public CreateUserRequest withFirstName(String firstName)
The first name for the user.
firstName
- The first name for the user.public void setLastName(String lastName)
The last name for the user.
lastName
- The last name for the user.public String getLastName()
The last name for the user.
public CreateUserRequest withLastName(String lastName)
The last name for the user.
lastName
- The last name for the user.public void setEmail(String email)
The email address for the user.
email
- The email address for the user.public String getEmail()
The email address for the user.
public CreateUserRequest withEmail(String email)
The email address for the user.
email
- The email address for the user.public void setClientRequestToken(String clientRequestToken)
A unique, user-specified identifier for this request that ensures idempotency.
clientRequestToken
- A unique, user-specified identifier for this request that ensures idempotency.public String getClientRequestToken()
A unique, user-specified identifier for this request that ensures idempotency.
public CreateUserRequest withClientRequestToken(String clientRequestToken)
A unique, user-specified identifier for this request that ensures idempotency.
clientRequestToken
- A unique, user-specified identifier for this request that ensures idempotency.public void setTags(Collection<Tag> tags)
The tags for the user.
tags
- The tags for the user.public CreateUserRequest withTags(Tag... tags)
The tags for the user.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags for the user.public CreateUserRequest withTags(Collection<Tag> tags)
The tags for the user.
tags
- The tags for the user.public String toString()
toString
in class Object
Object.toString()
public CreateUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.