@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeGameSessionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the returned data in response to a request action.
Constructor and Description |
---|
DescribeGameSessionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeGameSessionsResult |
clone() |
boolean |
equals(Object obj) |
List<GameSession> |
getGameSessions()
Collection of objects containing game session properties for each session matching the request.
|
String |
getNextToken()
Token that indicates where to resume retrieving results on the next call to this action.
|
int |
hashCode() |
void |
setGameSessions(Collection<GameSession> gameSessions)
Collection of objects containing game session properties for each session matching the request.
|
void |
setNextToken(String nextToken)
Token that indicates where to resume retrieving results on the next call to this action.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeGameSessionsResult |
withGameSessions(Collection<GameSession> gameSessions)
Collection of objects containing game session properties for each session matching the request.
|
DescribeGameSessionsResult |
withGameSessions(GameSession... gameSessions)
Collection of objects containing game session properties for each session matching the request.
|
DescribeGameSessionsResult |
withNextToken(String nextToken)
Token that indicates where to resume retrieving results on the next call to this action.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<GameSession> getGameSessions()
Collection of objects containing game session properties for each session matching the request.
public void setGameSessions(Collection<GameSession> gameSessions)
Collection of objects containing game session properties for each session matching the request.
gameSessions
- Collection of objects containing game session properties for each session matching the request.public DescribeGameSessionsResult withGameSessions(GameSession... gameSessions)
Collection of objects containing game session properties for each session matching the request.
NOTE: This method appends the values to the existing list (if any). Use
setGameSessions(java.util.Collection)
or withGameSessions(java.util.Collection)
if you want to
override the existing values.
gameSessions
- Collection of objects containing game session properties for each session matching the request.public DescribeGameSessionsResult withGameSessions(Collection<GameSession> gameSessions)
Collection of objects containing game session properties for each session matching the request.
gameSessions
- Collection of objects containing game session properties for each session matching the request.public void setNextToken(String nextToken)
Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list.
nextToken
- Token that indicates where to resume retrieving results on the next call to this action. If no token is
returned, these results represent the end of the list.public String getNextToken()
Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list.
public DescribeGameSessionsResult withNextToken(String nextToken)
Token that indicates where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list.
nextToken
- Token that indicates where to resume retrieving results on the next call to this action. If no token is
returned, these results represent the end of the list.public String toString()
toString
in class Object
Object.toString()
public DescribeGameSessionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.