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