@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateUserResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateUserResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateUserResult |
clone() |
boolean |
equals(Object obj) |
String |
getServerId()
The ID of the server that the user is attached to.
|
String |
getUserName()
A unique string that identifies a user account associated with a server.
|
int |
hashCode() |
void |
setServerId(String serverId)
The ID of the server that the user is attached to.
|
void |
setUserName(String userName)
A unique string that identifies a user account associated with a server.
|
String |
toString()
Returns a string representation of this object.
|
CreateUserResult |
withServerId(String serverId)
The ID of the server that the user is attached to.
|
CreateUserResult |
withUserName(String userName)
A unique string that identifies a user account associated with a server.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setServerId(String serverId)
The ID of the server that the user is attached to.
serverId - The ID of the server that the user is attached to.public String getServerId()
The ID of the server that the user is attached to.
public CreateUserResult withServerId(String serverId)
The ID of the server that the user is attached to.
serverId - The ID of the server that the user is attached to.public void setUserName(String userName)
A unique string that identifies a user account associated with a server.
userName - A unique string that identifies a user account associated with a server.public String getUserName()
A unique string that identifies a user account associated with a server.
public CreateUserResult withUserName(String userName)
A unique string that identifies a user account associated with a server.
userName - A unique string that identifies a user account associated with a server.public String toString()
toString in class ObjectObject.toString()public CreateUserResult clone()