|
|||||||
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 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 .
AmazonIdentityManagement.createUser(CreateUserRequest)
Constructor Summary | |
---|---|
CreateUserRequest()
|
Method Summary | |
---|---|
java.lang.String |
getPath()
The path for the User name. |
java.lang.String |
getUserName()
Name of the User to create. |
void |
setPath(java.lang.String path)
The path for the User name. |
void |
setUserName(java.lang.String userName)
Name of the User to create. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateUserRequest |
withPath(java.lang.String path)
The path for the User name. |
CreateUserRequest |
withUserName(java.lang.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 java.lang.String getPath()
This parameter is optional. If it is not included, it defaults to a slash (/).
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
This parameter is optional. If it is not included, it defaults to a slash (/).
public void setPath(java.lang.String path)
This parameter is optional. If it is not included, it defaults to a slash (/).
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
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 (/).
public CreateUserRequest withPath(java.lang.String path)
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: (/)|(/[!-]+/)
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 (/).
public java.lang.String getUserName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setUserName(java.lang.String userName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName
- Name of the User to create.public CreateUserRequest withUserName(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |