public class CreateUserRequest extends AmazonWebServiceRequest implements java.io.Serializable
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 .
| コンストラクタと説明 |
|---|
CreateUserRequest()
Default constructor for a new CreateUserRequest object.
|
CreateUserRequest(java.lang.String userName)
Constructs a new CreateUserRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPath()
The path for the user name.
|
java.lang.String |
getUserName()
Name of the user to create.
|
int |
hashCode() |
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic CreateUserRequest()
public CreateUserRequest(java.lang.String userName)
userName - Name of the user to create.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 - 64
Pattern: [\w+=,.@-]*
public void setUserName(java.lang.String userName)
Constraints:
Length: 1 - 64
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 - 64
Pattern: [\w+=,.@-]*
userName - Name of the user to create.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object