com.amazonaws.services.identitymanagement.model
Class UpdateLoginProfileRequest

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

public class UpdateLoginProfileRequest
extends AmazonWebServiceRequest

Container for the parameters to the UpdateLoginProfile operation.

Changes the password for the specified user.

See Also:
AmazonIdentityManagement.updateLoginProfile(UpdateLoginProfileRequest)

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

UpdateLoginProfileRequest

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


UpdateLoginProfileRequest

public UpdateLoginProfileRequest(String userName)
Constructs a new UpdateLoginProfileRequest 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 update.
Method Detail

getUserName

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

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

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

setUserName

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

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

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

withUserName

public UpdateLoginProfileRequest withUserName(String userName)
Name of the user whose password you want to update.

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 update.
Returns:
A reference to this updated object so that method calls can be chained together.

getPassword

public String getPassword()
The new password for the user name.

Constraints:
Length: 1 - 128
Pattern: [ -?]+

Returns:
The new password for the user name.

setPassword

public void setPassword(String password)
The new password for the user name.

Constraints:
Length: 1 - 128
Pattern: [ -?]+

Parameters:
password - The new password for the user name.

withPassword

public UpdateLoginProfileRequest withPassword(String password)
The new password for the user name.

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

Constraints:
Length: 1 - 128
Pattern: [ -?]+

Parameters:
password - The new password for the user name.
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.