public class SearchGameSessionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
NOOP| Constructor and Description |
|---|
SearchGameSessionsRequest() |
| Modifier and Type | Method and Description |
|---|---|
SearchGameSessionsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAliasId()
Unique identifier for a fleet alias.
|
String |
getFilterExpression()
String containing the search criteria for the session search.
|
String |
getFleetId()
Unique identifier for a fleet.
|
Integer |
getLimit()
Maximum number of results to return.
|
String |
getNextToken()
Token indicating the start of the next sequential page of results.
|
String |
getSortExpression()
Instructions on how to sort the search results.
|
int |
hashCode() |
void |
setAliasId(String aliasId)
Unique identifier for a fleet alias.
|
void |
setFilterExpression(String filterExpression)
String containing the search criteria for the session search.
|
void |
setFleetId(String fleetId)
Unique identifier for a fleet.
|
void |
setLimit(Integer limit)
Maximum number of results to return.
|
void |
setNextToken(String nextToken)
Token indicating the start of the next sequential page of results.
|
void |
setSortExpression(String sortExpression)
Instructions on how to sort the search results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SearchGameSessionsRequest |
withAliasId(String aliasId)
Unique identifier for a fleet alias.
|
SearchGameSessionsRequest |
withFilterExpression(String filterExpression)
String containing the search criteria for the session search.
|
SearchGameSessionsRequest |
withFleetId(String fleetId)
Unique identifier for a fleet.
|
SearchGameSessionsRequest |
withLimit(Integer limit)
Maximum number of results to return.
|
SearchGameSessionsRequest |
withNextToken(String nextToken)
Token indicating the start of the next sequential page of results.
|
SearchGameSessionsRequest |
withSortExpression(String sortExpression)
Instructions on how to sort the search results.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setFleetId(String fleetId)
Unique identifier for a fleet. Each request must reference either a fleet ID or alias ID, but not both.
fleetId - Unique identifier for a fleet. Each request must reference either
a fleet ID or alias ID, but not both.public String getFleetId()
Unique identifier for a fleet. Each request must reference either a fleet ID or alias ID, but not both.
public SearchGameSessionsRequest withFleetId(String fleetId)
Unique identifier for a fleet. Each request must reference either a fleet ID or alias ID, but not both.
fleetId - Unique identifier for a fleet. Each request must reference either
a fleet ID or alias ID, but not both.public void setAliasId(String aliasId)
Unique identifier for a fleet alias. Each request must reference either a fleet ID or alias ID, but not both.
aliasId - Unique identifier for a fleet alias. Each request must reference
either a fleet ID or alias ID, but not both.public String getAliasId()
Unique identifier for a fleet alias. Each request must reference either a fleet ID or alias ID, but not both.
public SearchGameSessionsRequest withAliasId(String aliasId)
Unique identifier for a fleet alias. Each request must reference either a fleet ID or alias ID, but not both.
aliasId - Unique identifier for a fleet alias. Each request must reference
either a fleet ID or alias ID, but not both.public void setFilterExpression(String filterExpression)
String containing the search criteria for the session search. If no filter expression is included, the request returns results for all game sessions in the fleet that are in ACTIVE status.
A filter expression can contain one or multiple conditions. Each condition consists of the following:
gameSessionName, gameSessionId,
creationTimeMillis, playerSessionCount,
maximumSessions, hasAvailablePlayerSessions.=,
<>, <,
>, <=, >=.=
and <>. For example, the following filter
expression searches on gameSessionName: "
FilterExpression": "gameSessionName = 'Matt\\'s Awesome Game 1'"
.
To chain multiple conditions in a single expression, use the logical
keywords AND, OR, and NOT and
parentheses as needed. For example: x AND y AND NOT z,
NOT (x OR y).
Session search evaluates conditions from left to right using the following precedence rules:
=, <>, <,
>, <=, >=
For example, this filter expression retrieves game sessions hosting at
least ten players that have an open player slot:
"maximumSessions>=10 AND hasAvailablePlayerSessions=true"
.
filterExpression - String containing the search criteria for the session search. If
no filter expression is included, the request returns results for
all game sessions in the fleet that are in ACTIVE status.
A filter expression can contain one or multiple conditions. Each condition consists of the following:
gameSessionName,
gameSessionId, creationTimeMillis,
playerSessionCount, maximumSessions,
hasAvailablePlayerSessions.=,
<>, <,
>, <=,
>=.= and <>. For
example, the following filter expression searches on
gameSessionName: "
FilterExpression": "gameSessionName = 'Matt\\'s Awesome Game 1'"
.
To chain multiple conditions in a single expression, use the
logical keywords AND, OR, and
NOT and parentheses as needed. For example:
x AND y AND NOT z, NOT (x OR y).
Session search evaluates conditions from left to right using the following precedence rules:
=, <>,
<, >,
<=, >=
For example, this filter expression retrieves game sessions
hosting at least ten players that have an open player slot:
"maximumSessions>=10 AND hasAvailablePlayerSessions=true".
public String getFilterExpression()
String containing the search criteria for the session search. If no filter expression is included, the request returns results for all game sessions in the fleet that are in ACTIVE status.
A filter expression can contain one or multiple conditions. Each condition consists of the following:
gameSessionName, gameSessionId,
creationTimeMillis, playerSessionCount,
maximumSessions, hasAvailablePlayerSessions.=,
<>, <,
>, <=, >=.=
and <>. For example, the following filter
expression searches on gameSessionName: "
FilterExpression": "gameSessionName = 'Matt\\'s Awesome Game 1'"
.
To chain multiple conditions in a single expression, use the logical
keywords AND, OR, and NOT and
parentheses as needed. For example: x AND y AND NOT z,
NOT (x OR y).
Session search evaluates conditions from left to right using the following precedence rules:
=, <>, <,
>, <=, >=
For example, this filter expression retrieves game sessions hosting at
least ten players that have an open player slot:
"maximumSessions>=10 AND hasAvailablePlayerSessions=true"
.
A filter expression can contain one or multiple conditions. Each condition consists of the following:
gameSessionName,
gameSessionId, creationTimeMillis,
playerSessionCount, maximumSessions,
hasAvailablePlayerSessions.=,
<>, <,
>, <=,
>=.= and <>.
For example, the following filter expression searches on
gameSessionName: "
FilterExpression": "gameSessionName = 'Matt\\'s Awesome Game 1'"
.
To chain multiple conditions in a single expression, use the
logical keywords AND, OR, and
NOT and parentheses as needed. For example:
x AND y AND NOT z, NOT (x OR y).
Session search evaluates conditions from left to right using the following precedence rules:
=, <>,
<, >,
<=, >=
For example, this filter expression retrieves game sessions
hosting at least ten players that have an open player slot:
"maximumSessions>=10 AND hasAvailablePlayerSessions=true".
public SearchGameSessionsRequest withFilterExpression(String filterExpression)
String containing the search criteria for the session search. If no filter expression is included, the request returns results for all game sessions in the fleet that are in ACTIVE status.
A filter expression can contain one or multiple conditions. Each condition consists of the following:
gameSessionName, gameSessionId,
creationTimeMillis, playerSessionCount,
maximumSessions, hasAvailablePlayerSessions.=,
<>, <,
>, <=, >=.=
and <>. For example, the following filter
expression searches on gameSessionName: "
FilterExpression": "gameSessionName = 'Matt\\'s Awesome Game 1'"
.
To chain multiple conditions in a single expression, use the logical
keywords AND, OR, and NOT and
parentheses as needed. For example: x AND y AND NOT z,
NOT (x OR y).
Session search evaluates conditions from left to right using the following precedence rules:
=, <>, <,
>, <=, >=
For example, this filter expression retrieves game sessions hosting at
least ten players that have an open player slot:
"maximumSessions>=10 AND hasAvailablePlayerSessions=true"
.
filterExpression - String containing the search criteria for the session search. If
no filter expression is included, the request returns results for
all game sessions in the fleet that are in ACTIVE status.
A filter expression can contain one or multiple conditions. Each condition consists of the following:
gameSessionName,
gameSessionId, creationTimeMillis,
playerSessionCount, maximumSessions,
hasAvailablePlayerSessions.=,
<>, <,
>, <=,
>=.= and <>. For
example, the following filter expression searches on
gameSessionName: "
FilterExpression": "gameSessionName = 'Matt\\'s Awesome Game 1'"
.
To chain multiple conditions in a single expression, use the
logical keywords AND, OR, and
NOT and parentheses as needed. For example:
x AND y AND NOT z, NOT (x OR y).
Session search evaluates conditions from left to right using the following precedence rules:
=, <>,
<, >,
<=, >=
For example, this filter expression retrieves game sessions
hosting at least ten players that have an open player slot:
"maximumSessions>=10 AND hasAvailablePlayerSessions=true".
public void setSortExpression(String sortExpression)
Instructions on how to sort the search results. If no sort expression is included, the request returns results in random order. A sort expression consists of the following elements:
gameSessionName, gameSessionId,
creationTimeMillis, playerSessionCount,
maximumSessions, hasAvailablePlayerSessions.ASC (ascending)
and DESC (descending).
For example, this sort expression returns the oldest active sessions
first: "SortExpression": "creationTimeMillis ASC". Results
with a null value for the sort operand are returned at the end of the
list.
sortExpression - Instructions on how to sort the search results. If no sort
expression is included, the request returns results in random
order. A sort expression consists of the following elements:
gameSessionName,
gameSessionId, creationTimeMillis,
playerSessionCount, maximumSessions,
hasAvailablePlayerSessions.ASC
(ascending) and DESC (descending).
For example, this sort expression returns the oldest active
sessions first:
"SortExpression": "creationTimeMillis ASC". Results
with a null value for the sort operand are returned at the end of
the list.
public String getSortExpression()
Instructions on how to sort the search results. If no sort expression is included, the request returns results in random order. A sort expression consists of the following elements:
gameSessionName, gameSessionId,
creationTimeMillis, playerSessionCount,
maximumSessions, hasAvailablePlayerSessions.ASC (ascending)
and DESC (descending).
For example, this sort expression returns the oldest active sessions
first: "SortExpression": "creationTimeMillis ASC". Results
with a null value for the sort operand are returned at the end of the
list.
gameSessionName,
gameSessionId, creationTimeMillis,
playerSessionCount, maximumSessions,
hasAvailablePlayerSessions.ASC
(ascending) and DESC (descending).
For example, this sort expression returns the oldest active
sessions first:
"SortExpression": "creationTimeMillis ASC". Results
with a null value for the sort operand are returned at the end of
the list.
public SearchGameSessionsRequest withSortExpression(String sortExpression)
Instructions on how to sort the search results. If no sort expression is included, the request returns results in random order. A sort expression consists of the following elements:
gameSessionName, gameSessionId,
creationTimeMillis, playerSessionCount,
maximumSessions, hasAvailablePlayerSessions.ASC (ascending)
and DESC (descending).
For example, this sort expression returns the oldest active sessions
first: "SortExpression": "creationTimeMillis ASC". Results
with a null value for the sort operand are returned at the end of the
list.
sortExpression - Instructions on how to sort the search results. If no sort
expression is included, the request returns results in random
order. A sort expression consists of the following elements:
gameSessionName,
gameSessionId, creationTimeMillis,
playerSessionCount, maximumSessions,
hasAvailablePlayerSessions.ASC
(ascending) and DESC (descending).
For example, this sort expression returns the oldest active
sessions first:
"SortExpression": "creationTimeMillis ASC". Results
with a null value for the sort operand are returned at the end of
the list.
public void setLimit(Integer limit)
Maximum number of results to return. Use this parameter with
NextToken to get results as a set of sequential pages. The
maximum number of results returned is 20, even if this value is not set
or is set higher than 20.
limit - Maximum number of results to return. Use this parameter with
NextToken to get results as a set of sequential
pages. The maximum number of results returned is 20, even if this
value is not set or is set higher than 20.public Integer getLimit()
Maximum number of results to return. Use this parameter with
NextToken to get results as a set of sequential pages. The
maximum number of results returned is 20, even if this value is not set
or is set higher than 20.
NextToken to get results as a set of sequential
pages. The maximum number of results returned is 20, even if this
value is not set or is set higher than 20.public SearchGameSessionsRequest withLimit(Integer limit)
Maximum number of results to return. Use this parameter with
NextToken to get results as a set of sequential pages. The
maximum number of results returned is 20, even if this value is not set
or is set higher than 20.
limit - Maximum number of results to return. Use this parameter with
NextToken to get results as a set of sequential
pages. The maximum number of results returned is 20, even if this
value is not set or is set higher than 20.public void setNextToken(String nextToken)
Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value.
nextToken - Token indicating the start of the next sequential page of results.
Use the token that is returned with a previous call to this
action. To specify the start of the result set, do not specify a
value.public String getNextToken()
Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value.
public SearchGameSessionsRequest withNextToken(String nextToken)
Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value.
nextToken - Token indicating the start of the next sequential page of results.
Use the token that is returned with a previous call to this
action. To specify the start of the result set, do not specify a
value.public String toString()
toString in class ObjectObject.toString()public SearchGameSessionsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.