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:
  • Constructor Details

    • GetUserResult

      public GetUserResult()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public GetUserResult clone()
      Overrides:
      clone in class Object