|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.identitymanagement.model.CreateUserRequest
public class CreateUserRequest
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 .
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 |
---|
public CreateUserRequest()
Method Detail |
---|
public String getPath()
This parameter is optional. If it is not included, it defaults to /.
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
This parameter is optional. If it is not included, it defaults to /.
public void setPath(String path)
This parameter is optional. If it is not included, it defaults to /.
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
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 /.
public CreateUserRequest withPath(String path)
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: (/)|(/[!-]+/)
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 /.
public String getUserName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setUserName(String userName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName
- Name of the user to create.public CreateUserRequest withUserName(String userName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName
- Name of the user to create.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |