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()
          Default constructor for a new LoginProfile object.
LoginProfile(String userName, Date createDate)
          Constructs a new LoginProfile object.
 
Method Summary
 Date getCreateDate()
          The date when the login profile for the User was created.
 String getUserName()
          The name of the User, which can be used for logins.
 void setCreateDate(Date createDate)
          The date when the login profile for the User was created.
 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 withCreateDate(Date createDate)
          The date when the login profile for the User was created.
 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()
Default constructor for a new LoginProfile object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


LoginProfile

public LoginProfile(String userName,
                    Date createDate)
Constructs a new LoginProfile object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
userName - The name of the User, which can be used for logins.
createDate - The date when the login profile for the User was created.
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.

getCreateDate

public Date getCreateDate()
The date when the login profile for the User was created.

Returns:
The date when the login profile for the User was created.

setCreateDate

public void setCreateDate(Date createDate)
The date when the login profile for the User was created.

Parameters:
createDate - The date when the login profile for the User was created.

withCreateDate

public LoginProfile withCreateDate(Date createDate)
The date when the login profile for the User was created.

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

Parameters:
createDate - The date when the login profile for the User was created.
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.