com.amazonaws.services.identitymanagement.model
Class GetUserRequest

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

public class GetUserRequest
extends AmazonWebServiceRequest

Container for the parameters to the GetUser operation.

Retrieves information about the specified user, including the user's path, GUID, and ARN.

If the UserName field is not specified, UserName is determined implicitly based on the AWS Access Key ID used to sign the request.

See Also:
AmazonIdentityManagement.getUser(GetUserRequest)

Constructor Summary
GetUserRequest()
           
 
Method Summary
 String getUserName()
          Name of the user to get information about.
 void setUserName(String userName)
          Name of the user to get information about.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetUserRequest withUserName(String userName)
          Name of the user to get information about.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetUserRequest

public GetUserRequest()
Method Detail

getUserName

public String getUserName()
Name of the user to get information about.

This parameter is optional. If it is not included, it defaults to the user making the request.

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

Returns:
Name of the user to get information about.

This parameter is optional. If it is not included, it defaults to the user making the request.


setUserName

public void setUserName(String userName)
Name of the user to get information about.

This parameter is optional. If it is not included, it defaults to the user making the request.

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

Parameters:
userName - Name of the user to get information about.

This parameter is optional. If it is not included, it defaults to the user making the request.


withUserName

public GetUserRequest withUserName(String userName)
Name of the user to get information about.

This parameter is optional. If it is not included, it defaults to the user making the request.

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

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

Parameters:
userName - Name of the user to get information about.

This parameter is optional. If it is not included, it defaults to the user making the request.

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.