com.amazonaws.services.identitymanagement.model
Class GetLoginProfileRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.identitymanagement.model.GetLoginProfileRequest

public class GetLoginProfileRequest
extends AmazonWebServiceRequest

Container for the parameters to the GetLoginProfile operation.

Retrieves the password for the specified user.

See Also:
AmazonIdentityManagement.getLoginProfile(GetLoginProfileRequest)

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

getUserName

public String getUserName()
Name of the user whose password you want to retrieve.

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

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

setUserName

public void setUserName(String userName)
Name of the user whose password you want to retrieve.

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

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

withUserName

public GetLoginProfileRequest withUserName(String userName)
Name of the user whose password 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 password you want to retrieve.
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()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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