public class GetUserResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the response to a successful GetUser request.
Modifier and Type | Field and Description |
---|---|
private User |
user
A structure containing details about the IAM user.
|
Constructor and Description |
---|
GetUserResult() |
Modifier and Type | Method and Description |
---|---|
GetUserResult |
clone() |
boolean |
equals(java.lang.Object obj) |
User |
getUser()
A structure containing details about the IAM user.
|
int |
hashCode() |
void |
setUser(User user)
A structure containing details about the IAM user.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetUserResult |
withUser(User user)
A structure containing details about the IAM user.
|
private User user
A structure containing details about the IAM user.
public void setUser(User user)
A structure containing details about the IAM user.
user
- A structure containing details about the IAM user.public User getUser()
A structure containing details about the IAM user.
public GetUserResult withUser(User user)
A structure containing details about the IAM user.
user
- A structure containing details about the IAM user.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetUserResult clone()
clone
in class java.lang.Object