com.amazonaws.services.identitymanagement.model
Class LoginProfile

java.lang.Object
  extended by com.amazonaws.services.identitymanagement.model.LoginProfile

public class LoginProfile
extends Object

The LoginProfile data type contains information about a login profile for a user.

This data type is used as a response element in the actions CreateLoginProfile and GetLoginProfile.


Constructor Summary
LoginProfile()
           
 
Method Summary
 String getUserName()
          The name of the user, which can be used for logins.
 void setUserName(String userName)
          The name of the user, which can be used for logins.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 LoginProfile withUserName(String userName)
          The name of the user, which can be used for logins.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoginProfile

public LoginProfile()
Method Detail

getUserName

public String getUserName()
The name of the user, which can be used for logins.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Returns:
The name of the user, which can be used for logins.

setUserName

public void setUserName(String userName)
The name of the user, which can be used for logins.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
userName - The name of the user, which can be used for logins.

withUserName

public LoginProfile withUserName(String userName)
The name of the user, which can be used for logins.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
userName - The name of the user, which can be used for logins.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.