|
Did this page help you?Yes No Tell us about it... |
||||||
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()
Default constructor for a new CreateUserRequest object. |
|
CreateUserRequest(String userName)
Constructs a new CreateUserRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getPath()
The path for the user name. |
String |
getUserName()
Name of the user to create. |
int |
hashCode()
|
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, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateUserRequest()
public CreateUserRequest(String userName)
userName
- Name of the user to create.Method Detail |
---|
public 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(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(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 String getUserName()
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
public void setUserName(String userName)
Constraints:
Length: 1 - 64
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 - 64
Pattern: [\w+=,.@-]*
userName
- Name of the user to create.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |