com.amazonaws.services.identitymanagement.model
Class CreateUserRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.identitymanagement.model.CreateUserRequest

public class CreateUserRequest
extends AmazonWebServiceRequest

Container for the parameters to the CreateUser operation.

Creates a new user for your account.

For information about limitations on the number of users you can create, see Limitations on AWS IAM Entities in the AWS Identity and Access Management User Guide .

See Also:
AmazonIdentityManagement.createUser(CreateUserRequest)

Constructor Summary
CreateUserRequest()
           
 
Method Summary
 String getPath()
          The user's path.
 String getUserName()
          Name of the user to create.
 void setPath(String path)
          The user's path.
 void setUserName(String userName)
          Name of the user to create.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateUserRequest withPath(String path)
          The user's path.
 CreateUserRequest withUserName(String userName)
          Name of the user to create.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateUserRequest

public CreateUserRequest()
Method Detail

getPath

public String getPath()
The user's path. For more information about paths, see Identifiers for Users and Groups in the AWS AWS Identity and Access Management User Guide.

This parameter is optional. If it is not included, it defaults to /.

Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)

Returns:
The user's path. For more information about paths, see Identifiers for Users and Groups in the AWS AWS Identity and Access Management User Guide.

This parameter is optional. If it is not included, it defaults to /.


setPath

public void setPath(String path)
The user's path. For more information about paths, see Identifiers for Users and Groups in the AWS AWS Identity and Access Management User Guide.

This parameter is optional. If it is not included, it defaults to /.

Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)

Parameters:
path - The user's path. For more information about paths, see Identifiers for Users and Groups in the AWS AWS Identity and Access Management User Guide.

This parameter is optional. If it is not included, it defaults to /.


withPath

public CreateUserRequest withPath(String path)
The user's path. For more information about paths, see Identifiers for Users and Groups in the AWS AWS Identity and Access Management User Guide.

This parameter is optional. If it is not included, it defaults to /.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)

Parameters:
path - The user's path. For more information about paths, see Identifiers for Users and Groups in the AWS AWS Identity and Access Management User Guide.

This parameter is optional. If it is not included, it defaults to /.

Returns:
A reference to this updated object so that method calls can be chained together.

getUserName

public String getUserName()
Name of the user to create.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Returns:
Name of the user to create.

setUserName

public void setUserName(String userName)
Name of the user to create.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
userName - Name of the user to create.

withUserName

public CreateUserRequest withUserName(String userName)
Name of the user to create.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
userName - Name of the user to create.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.