@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeUserResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeUserResult() |
Modifier and Type | Method and Description |
---|---|
DescribeUserResult |
clone() |
boolean |
equals(Object obj) |
String |
getRequestId()
The AWS request ID for this operation.
|
Integer |
getStatus()
The HTTP status of the request.
|
User |
getUser()
The user name.
|
int |
hashCode() |
void |
setRequestId(String requestId)
The AWS request ID for this operation.
|
void |
setStatus(Integer status)
The HTTP status of the request.
|
void |
setUser(User user)
The user name.
|
String |
toString()
Returns a string representation of this object.
|
DescribeUserResult |
withRequestId(String requestId)
The AWS request ID for this operation.
|
DescribeUserResult |
withStatus(Integer status)
The HTTP status of the request.
|
DescribeUserResult |
withUser(User user)
The user name.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setUser(User user)
The user name.
user
- The user name.public User getUser()
The user name.
public DescribeUserResult withUser(User user)
The user name.
user
- The user name.public void setRequestId(String requestId)
The AWS request ID for this operation.
requestId
- The AWS request ID for this operation.public String getRequestId()
The AWS request ID for this operation.
public DescribeUserResult withRequestId(String requestId)
The AWS request ID for this operation.
requestId
- The AWS request ID for this operation.public void setStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public Integer getStatus()
The HTTP status of the request.
public DescribeUserResult withStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public String toString()
toString
in class Object
Object.toString()
public DescribeUserResult clone()