|
|||||||
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 login profile for the specified User, giving the User the ability to access AWS services such as the AWS Management Console. For more information about login profiles, see Managing Login Profiles and MFA Devices in Using AWS Identity and Access Management .
NOTE:In the full release you will be able to use IAM to access your services through the AWS Management Console. Although this feature is not currently available, you can create login profiles for your Users now. Then, when this feature is implemented, your Users can use IAM to access your services through the AWS Management Console.
AmazonIdentityManagement.createLoginProfile(CreateLoginProfileRequest)
Constructor Summary | |
---|---|
CreateLoginProfileRequest()
|
Method Summary | |
---|---|
String |
getPassword()
The new password for the User name. |
String |
getUserName()
Name of the User to create a login profile for. |
void |
setPassword(String password)
The new password for the User name. |
void |
setUserName(String userName)
Name of the User to create a login profile 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 login profile for. |
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 CreateLoginProfileRequest()
Method Detail |
---|
public String getUserName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setUserName(String userName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName
- Name of the User to create a login profile for.public CreateLoginProfileRequest withUserName(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 a login profile 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()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |