@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListGamesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListGamesResult() |
Modifier and Type | Method and Description |
---|---|
ListGamesResult |
clone() |
boolean |
equals(Object obj) |
List<GameSummary> |
getGames()
The list of games.
|
String |
getNextToken()
The token that indicates the start of the next sequential page of results.
|
int |
hashCode() |
void |
setGames(Collection<GameSummary> games)
The list of games.
|
void |
setNextToken(String nextToken)
The token that indicates the start of the next sequential page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListGamesResult |
withGames(Collection<GameSummary> games)
The list of games.
|
ListGamesResult |
withGames(GameSummary... games)
The list of games.
|
ListGamesResult |
withNextToken(String nextToken)
The token that indicates the start of the next sequential page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<GameSummary> getGames()
The list of games.
public void setGames(Collection<GameSummary> games)
The list of games.
games
- The list of games.public ListGamesResult withGames(GameSummary... games)
The list of games.
NOTE: This method appends the values to the existing list (if any). Use
setGames(java.util.Collection)
or withGames(java.util.Collection)
if you want to override the
existing values.
games
- The list of games.public ListGamesResult withGames(Collection<GameSummary> games)
The list of games.
games
- The list of games.public void setNextToken(String nextToken)
The token that indicates the start of the next sequential page of results.
Use this value when making the next call to this operation to continue where the last one finished.
nextToken
- The token that indicates the start of the next sequential page of results.
Use this value when making the next call to this operation to continue where the last one finished.
public String getNextToken()
The token that indicates the start of the next sequential page of results.
Use this value when making the next call to this operation to continue where the last one finished.
Use this value when making the next call to this operation to continue where the last one finished.
public ListGamesResult withNextToken(String nextToken)
The token that indicates the start of the next sequential page of results.
Use this value when making the next call to this operation to continue where the last one finished.
nextToken
- The token that indicates the start of the next sequential page of results.
Use this value when making the next call to this operation to continue where the last one finished.
public String toString()
toString
in class Object
Object.toString()
public ListGamesResult clone()