public class CreateLoginProfileRequest extends AmazonWebServiceRequest implements java.io.Serializable
CreateLoginProfile operation.
Creates a password for the specified user, giving the user the ability to access AWS services through the AWS Management Console. For more information about managing passwords, see Managing Passwords in Using IAM .
| コンストラクタと説明 |
|---|
CreateLoginProfileRequest()
Default constructor for a new CreateLoginProfileRequest object.
|
CreateLoginProfileRequest(java.lang.String userName,
java.lang.String password)
Constructs a new CreateLoginProfileRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPassword()
The new password for the user name.
|
java.lang.String |
getUserName()
Name of the user to create a password for.
|
int |
hashCode() |
void |
setPassword(java.lang.String password)
The new password for the user name.
|
void |
setUserName(java.lang.String userName)
Name of the user to create a password for.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateLoginProfileRequest |
withPassword(java.lang.String password)
The new password for the user name.
|
CreateLoginProfileRequest |
withUserName(java.lang.String userName)
Name of the user to create a password for.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic CreateLoginProfileRequest()
public CreateLoginProfileRequest(java.lang.String userName,
java.lang.String password)
userName - Name of the user to create a password for.password - The new password for the user name.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 a password for.public CreateLoginProfileRequest 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 a password for.public java.lang.String getPassword()
Constraints:
Length: 1 - 128
Pattern: [
-ÿ]+
public void setPassword(java.lang.String password)
Constraints:
Length: 1 - 128
Pattern: [
-ÿ]+
password - The new password for the user name.public CreateLoginProfileRequest withPassword(java.lang.String password)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [
-ÿ]+
password - The new password for the user name.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