@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeGameSessionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
NOOP
Constructor and Description |
---|
DescribeGameSessionsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeGameSessionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAliasId()
Unique identifier for an alias associated with the fleet to retrieve all game sessions for.
|
String |
getFleetId()
Unique identifier for a fleet to retrieve all game sessions for.
|
String |
getGameSessionId()
Unique identifier for the game session to retrieve.
|
Integer |
getLimit()
Maximum number of results to return.
|
String |
getNextToken()
Token that indicates the start of the next sequential page of results.
|
String |
getStatusFilter()
Game session status to filter results on.
|
int |
hashCode() |
void |
setAliasId(String aliasId)
Unique identifier for an alias associated with the fleet to retrieve all game sessions for.
|
void |
setFleetId(String fleetId)
Unique identifier for a fleet to retrieve all game sessions for.
|
void |
setGameSessionId(String gameSessionId)
Unique identifier for the game session to retrieve.
|
void |
setLimit(Integer limit)
Maximum number of results to return.
|
void |
setNextToken(String nextToken)
Token that indicates the start of the next sequential page of results.
|
void |
setStatusFilter(String statusFilter)
Game session status to filter results on.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeGameSessionsRequest |
withAliasId(String aliasId)
Unique identifier for an alias associated with the fleet to retrieve all game sessions for.
|
DescribeGameSessionsRequest |
withFleetId(String fleetId)
Unique identifier for a fleet to retrieve all game sessions for.
|
DescribeGameSessionsRequest |
withGameSessionId(String gameSessionId)
Unique identifier for the game session to retrieve.
|
DescribeGameSessionsRequest |
withLimit(Integer limit)
Maximum number of results to return.
|
DescribeGameSessionsRequest |
withNextToken(String nextToken)
Token that indicates the start of the next sequential page of results.
|
DescribeGameSessionsRequest |
withStatusFilter(String statusFilter)
Game session status to filter results on.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setFleetId(String fleetId)
Unique identifier for a fleet to retrieve all game sessions for.
fleetId
- Unique identifier for a fleet to retrieve all game sessions for.public String getFleetId()
Unique identifier for a fleet to retrieve all game sessions for.
public DescribeGameSessionsRequest withFleetId(String fleetId)
Unique identifier for a fleet to retrieve all game sessions for.
fleetId
- Unique identifier for a fleet to retrieve all game sessions for.public void setGameSessionId(String gameSessionId)
Unique identifier for the game session to retrieve. You can use either a GameSessionId
or
GameSessionArn
value.
gameSessionId
- Unique identifier for the game session to retrieve. You can use either a GameSessionId
or
GameSessionArn
value.public String getGameSessionId()
Unique identifier for the game session to retrieve. You can use either a GameSessionId
or
GameSessionArn
value.
GameSessionId
or
GameSessionArn
value.public DescribeGameSessionsRequest withGameSessionId(String gameSessionId)
Unique identifier for the game session to retrieve. You can use either a GameSessionId
or
GameSessionArn
value.
gameSessionId
- Unique identifier for the game session to retrieve. You can use either a GameSessionId
or
GameSessionArn
value.public void setAliasId(String aliasId)
Unique identifier for an alias associated with the fleet to retrieve all game sessions for.
aliasId
- Unique identifier for an alias associated with the fleet to retrieve all game sessions for.public String getAliasId()
Unique identifier for an alias associated with the fleet to retrieve all game sessions for.
public DescribeGameSessionsRequest withAliasId(String aliasId)
Unique identifier for an alias associated with the fleet to retrieve all game sessions for.
aliasId
- Unique identifier for an alias associated with the fleet to retrieve all game sessions for.public void setStatusFilter(String statusFilter)
Game session status to filter results on. Possible game session statuses include ACTIVE
,
TERMINATED
, ACTIVATING
, and TERMINATING
(the last two are transitory).
statusFilter
- Game session status to filter results on. Possible game session statuses include ACTIVE
,
TERMINATED
, ACTIVATING
, and TERMINATING
(the last two are
transitory).public String getStatusFilter()
Game session status to filter results on. Possible game session statuses include ACTIVE
,
TERMINATED
, ACTIVATING
, and TERMINATING
(the last two are transitory).
ACTIVE
,
TERMINATED
, ACTIVATING
, and TERMINATING
(the last two are
transitory).public DescribeGameSessionsRequest withStatusFilter(String statusFilter)
Game session status to filter results on. Possible game session statuses include ACTIVE
,
TERMINATED
, ACTIVATING
, and TERMINATING
(the last two are transitory).
statusFilter
- Game session status to filter results on. Possible game session statuses include ACTIVE
,
TERMINATED
, ACTIVATING
, and TERMINATING
(the last two are
transitory).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.
limit
- Maximum number of results to return. Use this parameter with NextToken
to get results as a
set of sequential pages.public Integer getLimit()
Maximum number of results to return. Use this parameter with NextToken
to get results as a set of
sequential pages.
NextToken
to get results as a
set of sequential pages.public DescribeGameSessionsRequest withLimit(Integer limit)
Maximum number of results to return. Use this parameter with NextToken
to get results as a set of
sequential pages.
limit
- Maximum number of results to return. Use this parameter with NextToken
to get results as a
set of sequential pages.public void setNextToken(String nextToken)
Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To start at the beginning of the result set, do not specify a value.
nextToken
- Token that indicates the start of the next sequential page of results. Use the token that is returned with
a previous call to this action. To start at the beginning of the result set, do not specify a value.public String getNextToken()
Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To start at the beginning of the result set, do not specify a value.
public DescribeGameSessionsRequest withNextToken(String nextToken)
Token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To start at the beginning of the result set, do not specify a value.
nextToken
- Token that indicates the start of the next sequential page of results. Use the token that is returned with
a previous call to this action. To start at the beginning of the result set, do not specify a value.public String toString()
toString
in class Object
Object.toString()
public DescribeGameSessionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.