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 AWS Account.

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

See Also:
AmazonIdentityManagement.createUser(CreateUserRequest)

Constructor Summary
CreateUserRequest()
           
 
Method Summary
 String getPath()
          The path for the User name.
 String getUserName()
          Name of the User to create.
 void setPath(String path)
          The path for the User name.
 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 path for the User name.
 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 path for the User name. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

This parameter is optional. If it is not included, it defaults to a slash (/).

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

Returns:
The path for the User name. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

This parameter is optional. If it is not included, it defaults to a slash (/).


setPath

public void setPath(String path)
The path for the User name. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

This parameter is optional. If it is not included, it defaults to a slash (/).

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

Parameters:
path - The path for the User name. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

This parameter is optional. If it is not included, it defaults to a slash (/).


withPath

public CreateUserRequest withPath(String path)
The path for the User name. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

This parameter is optional. If it is not included, it defaults to a slash (/).

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

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

Parameters:
path - The path for the User name. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

This parameter is optional. If it is not included, it defaults to a slash (/).

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.