public class CreateUserResult extends Object implements Serializable, Cloneable
Contains the response to a successful CreateUser request.
Constructor and Description |
---|
CreateUserResult() |
Modifier and Type | Method and Description |
---|---|
CreateUserResult |
clone() |
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.
|
CreateUserResult |
withUser(User user)
Information about the user.
|
public User getUser()
public void setUser(User user)
user
- Information about the user.public CreateUserResult 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()
public CreateUserResult clone()
Copyright © 2015. All rights reserved.