@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()
Idempotent token used to identify the request to
CreateUser . |
String |
getCollectionId()
The ID of an existing collection to which the new UserID needs to be created.
|
String |
getUserId()
ID for the UserID to be created.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
Idempotent token used to identify the request to
CreateUser . |
void |
setCollectionId(String collectionId)
The ID of an existing collection to which the new UserID needs to be created.
|
void |
setUserId(String userId)
ID for the UserID to be created.
|
String |
toString()
Returns a string representation of this object.
|
CreateUserRequest |
withClientRequestToken(String clientRequestToken)
Idempotent token used to identify the request to
CreateUser . |
CreateUserRequest |
withCollectionId(String collectionId)
The ID of an existing collection to which the new UserID needs to be created.
|
CreateUserRequest |
withUserId(String userId)
ID for the UserID to be created.
|
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 setCollectionId(String collectionId)
The ID of an existing collection to which the new UserID needs to be created.
collectionId
- The ID of an existing collection to which the new UserID needs to be created.public String getCollectionId()
The ID of an existing collection to which the new UserID needs to be created.
public CreateUserRequest withCollectionId(String collectionId)
The ID of an existing collection to which the new UserID needs to be created.
collectionId
- The ID of an existing collection to which the new UserID needs to be created.public void setUserId(String userId)
ID for the UserID to be created. This ID needs to be unique within the collection.
userId
- ID for the UserID to be created. This ID needs to be unique within the collection.public String getUserId()
ID for the UserID to be created. This ID needs to be unique within the collection.
public CreateUserRequest withUserId(String userId)
ID for the UserID to be created. This ID needs to be unique within the collection.
userId
- ID for the UserID to be created. This ID needs to be unique within the collection.public void setClientRequestToken(String clientRequestToken)
Idempotent token used to identify the request to CreateUser
. If you use the same token with multiple
CreateUser
requests, the same response is returned. Use ClientRequestToken to prevent the same
request from being processed more than once.
clientRequestToken
- Idempotent token used to identify the request to CreateUser
. If you use the same token with
multiple CreateUser
requests, the same response is returned. Use ClientRequestToken to
prevent the same request from being processed more than once.public String getClientRequestToken()
Idempotent token used to identify the request to CreateUser
. If you use the same token with multiple
CreateUser
requests, the same response is returned. Use ClientRequestToken to prevent the same
request from being processed more than once.
CreateUser
. If you use the same token with
multiple CreateUser
requests, the same response is returned. Use ClientRequestToken to
prevent the same request from being processed more than once.public CreateUserRequest withClientRequestToken(String clientRequestToken)
Idempotent token used to identify the request to CreateUser
. If you use the same token with multiple
CreateUser
requests, the same response is returned. Use ClientRequestToken to prevent the same
request from being processed more than once.
clientRequestToken
- Idempotent token used to identify the request to CreateUser
. If you use the same token with
multiple CreateUser
requests, the same response is returned. Use ClientRequestToken to
prevent the same request from being processed more than once.public String toString()
toString
in class Object
Object.toString()
public CreateUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()