public class GetUserRequest extends AmazonWebServiceRequest implements java.io.Serializable
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.
| コンストラクタと説明 |
|---|
GetUserRequest()
Default constructor for a new GetUserRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getUserName()
Name of the user to get information about.
|
int |
hashCode() |
void |
setUserName(java.lang.String userName)
Name of the user to get information about.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetUserRequest |
withUserName(java.lang.String userName)
Name of the user to get information about.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic GetUserRequest()
public java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object