@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCurrentUserResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetCurrentUserResult() |
Modifier and Type | Method and Description |
---|---|
GetCurrentUserResult |
clone() |
boolean |
equals(Object obj) |
User |
getUser()
Metadata of the user.
|
int |
hashCode() |
void |
setUser(User user)
Metadata of the user.
|
String |
toString()
Returns a string representation of this object.
|
GetCurrentUserResult |
withUser(User user)
Metadata of the user.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setUser(User user)
Metadata of the user.
user
- Metadata of the user.public User getUser()
Metadata of the user.
public GetCurrentUserResult withUser(User user)
Metadata of the user.
user
- Metadata of the user.public String toString()
toString
in class Object
Object.toString()
public GetCurrentUserResult clone()