public class GetUserResult extends Object implements Serializable
Contains the result of a successful invocation of the GetUser action.
Constructor and Description |
---|
GetUserResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
User |
getUser()
Information about the user.
|
int |
hashCode() |
void |
setUser(User user)
Information about the user.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetUserResult |
withUser(User user)
Information about the user.
|
public User getUser()
public void setUser(User user)
user
- Information about the user.public GetUserResult withUser(User user)
Returns a reference to this object so that method calls can be chained together.
user
- Information about the user.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.