|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.identitymanagement.model.GetUserRequest
public class GetUserRequest
Container for the parameters to the GetUser operation
.
Retrieves information about the specified user, including the user's path, GUID, and ARN.
If you do not specify a user name, IAM determines the user name implicitly based on the AWS Access Key ID signing the request.
AmazonIdentityManagement.getUser(GetUserRequest)
,
Serialized FormConstructor Summary | |
---|---|
GetUserRequest()
Default constructor for a new GetUserRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getUserName()
Name of the user to get information about. |
int |
hashCode()
|
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, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GetUserRequest()
Method Detail |
---|
public String getUserName()
This parameter is optional. If it is not included, it defaults to the user making the request.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
This parameter is optional. If it is not included, it defaults to the user making the request.
public void setUserName(String userName)
This parameter is optional. If it is not included, it defaults to the user making the request.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
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.
public GetUserRequest withUserName(String userName)
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+=,.@-]*
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.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |