Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.identitymanagement.model
Class GetLoginProfileRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.identitymanagement.model.GetLoginProfileRequest
All Implemented Interfaces:
java.io.Serializable

public class GetLoginProfileRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the GetLoginProfile operation.

Retrieves the user name and password create date for the specified user.

See Also:
AmazonIdentityManagement.getLoginProfile(GetLoginProfileRequest), Serialized Form

Constructor Summary
GetLoginProfileRequest()
          Default constructor for a new GetLoginProfileRequest object.
GetLoginProfileRequest(java.lang.String userName)
          Constructs a new GetLoginProfileRequest object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getUserName()
          Name of the user whose login profile you want to retrieve.
 int hashCode()
           
 void setUserName(java.lang.String userName)
          Name of the user whose login profile you want to retrieve.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetLoginProfileRequest withUserName(java.lang.String userName)
          Name of the user whose login profile you want to retrieve.
 
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

GetLoginProfileRequest

public GetLoginProfileRequest()
Default constructor for a new GetLoginProfileRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


GetLoginProfileRequest

public GetLoginProfileRequest(java.lang.String userName)
Constructs a new GetLoginProfileRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
userName - Name of the user whose login profile you want to retrieve.
Method Detail

getUserName

public java.lang.String getUserName()
Name of the user whose login profile you want to retrieve.

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

Returns:
Name of the user whose login profile you want to retrieve.

setUserName

public void setUserName(java.lang.String userName)
Name of the user whose login profile you want to retrieve.

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

Parameters:
userName - Name of the user whose login profile you want to retrieve.

withUserName

public GetLoginProfileRequest withUserName(java.lang.String userName)
Name of the user whose login profile you want to retrieve.

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

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

Parameters:
userName - Name of the user whose login profile you want to retrieve.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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