Class GetUserResult
- java.lang.Object
-
- com.amazonaws.services.identitymanagement.model.GetUserResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class GetUserResult extends Object implements Serializable, Cloneable
Contains the response to a successful GetUser request.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetUserResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetUserResult
clone()
boolean
equals(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.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.
-
-
-
Method Detail
-
setUser
public void setUser(User user)
A structure containing details about the IAM user.
- Parameters:
user
- A structure containing details about the IAM user.
-
getUser
public User getUser()
A structure containing details about the IAM user.
- Returns:
- A structure containing details about the IAM user.
-
withUser
public GetUserResult withUser(User user)
A structure containing details about the IAM user.
- Parameters:
user
- A structure containing details about the IAM user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetUserResult clone()
-
-