@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSessionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateSessionResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateSessionResult |
clone() |
boolean |
equals(Object obj) |
Session |
getSession()
Returns the session object in the response.
|
int |
hashCode() |
void |
setSession(Session session)
Returns the session object in the response.
|
String |
toString()
Returns a string representation of this object.
|
CreateSessionResult |
withSession(Session session)
Returns the session object in the response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setSession(Session session)
Returns the session object in the response.
session - Returns the session object in the response.public Session getSession()
Returns the session object in the response.
public CreateSessionResult withSession(Session session)
Returns the session object in the response.
session - Returns the session object in the response.public String toString()
toString in class ObjectObject.toString()public CreateSessionResult clone()