|
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.CreateLoginProfileRequest
public class CreateLoginProfileRequest
Container for the parameters to the 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 .
AmazonIdentityManagement.createLoginProfile(CreateLoginProfileRequest)
Constructor Summary | |
---|---|
CreateLoginProfileRequest()
Default constructor for a new CreateLoginProfileRequest object. |
|
CreateLoginProfileRequest(String userName,
String password)
Constructs a new CreateLoginProfileRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getPassword()
The new password for the user name. |
String |
getUserName()
Name of the user to create a password for. |
int |
hashCode()
|
void |
setPassword(String password)
The new password for the user name. |
void |
setUserName(String userName)
Name of the user to create a password for. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateLoginProfileRequest |
withPassword(String password)
The new password for the user name. |
CreateLoginProfileRequest |
withUserName(String userName)
Name of the user to create a password for. |
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 CreateLoginProfileRequest()
public CreateLoginProfileRequest(String userName, String password)
userName
- Name of the user to create a password for.password
- The new password for the user name.Method Detail |
---|
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 a password for.public CreateLoginProfileRequest 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 a password for.
public String getPassword()
Constraints:
Length: 1 - 128
Pattern: [
-?]+
public void setPassword(String password)
Constraints:
Length: 1 - 128
Pattern: [
-?]+
password
- The new password for the user name.public CreateLoginProfileRequest withPassword(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 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 |