@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeGameSessionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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()
A unique identifier for the alias associated with the fleet to retrieve game sessions for.
|
String |
getFleetId()
A unique identifier for the fleet to retrieve game sessions for.
|
String |
getGameSessionId()
A unique identifier for the game session to retrieve.
|
Integer |
getLimit()
The maximum number of results to return.
|
String |
getLocation()
A fleet location to get game sessions for.
|
String |
getNextToken()
A 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)
A unique identifier for the alias associated with the fleet to retrieve game sessions for.
|
void |
setFleetId(String fleetId)
A unique identifier for the fleet to retrieve game sessions for.
|
void |
setGameSessionId(String gameSessionId)
A unique identifier for the game session to retrieve.
|
void |
setLimit(Integer limit)
The maximum number of results to return.
|
void |
setLocation(String location)
A fleet location to get game sessions for.
|
void |
setNextToken(String nextToken)
A 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.
|
DescribeGameSessionsRequest |
withAliasId(String aliasId)
A unique identifier for the alias associated with the fleet to retrieve game sessions for.
|
DescribeGameSessionsRequest |
withFleetId(String fleetId)
A unique identifier for the fleet to retrieve game sessions for.
|
DescribeGameSessionsRequest |
withGameSessionId(String gameSessionId)
A unique identifier for the game session to retrieve.
|
DescribeGameSessionsRequest |
withLimit(Integer limit)
The maximum number of results to return.
|
DescribeGameSessionsRequest |
withLocation(String location)
A fleet location to get game sessions for.
|
DescribeGameSessionsRequest |
withNextToken(String nextToken)
A 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)
A unique identifier for the fleet to retrieve game sessions for. You can use either the fleet ID or ARN value.
fleetId
- A unique identifier for the fleet to retrieve game sessions for. You can use either the fleet ID or ARN
value.public String getFleetId()
A unique identifier for the fleet to retrieve game sessions for. You can use either the fleet ID or ARN value.
public DescribeGameSessionsRequest withFleetId(String fleetId)
A unique identifier for the fleet to retrieve game sessions for. You can use either the fleet ID or ARN value.
fleetId
- A unique identifier for the fleet to retrieve game sessions for. You can use either the fleet ID or ARN
value.public void setGameSessionId(String gameSessionId)
A unique identifier for the game session to retrieve.
gameSessionId
- A unique identifier for the game session to retrieve.public String getGameSessionId()
A unique identifier for the game session to retrieve.
public DescribeGameSessionsRequest withGameSessionId(String gameSessionId)
A unique identifier for the game session to retrieve.
gameSessionId
- A unique identifier for the game session to retrieve.public void setAliasId(String aliasId)
A unique identifier for the alias associated with the fleet to retrieve game sessions for. You can use either the alias ID or ARN value.
aliasId
- A unique identifier for the alias associated with the fleet to retrieve game sessions for. You can use
either the alias ID or ARN value.public String getAliasId()
A unique identifier for the alias associated with the fleet to retrieve game sessions for. You can use either the alias ID or ARN value.
public DescribeGameSessionsRequest withAliasId(String aliasId)
A unique identifier for the alias associated with the fleet to retrieve game sessions for. You can use either the alias ID or ARN value.
aliasId
- A unique identifier for the alias associated with the fleet to retrieve game sessions for. You can use
either the alias ID or ARN value.public void setLocation(String location)
A fleet location to get game sessions for. You can specify a fleet's home Region or a remote location. Use the
Amazon Web Services Region code format, such as us-west-2
.
location
- A fleet location to get game sessions for. You can specify a fleet's home Region or a remote location. Use
the Amazon Web Services Region code format, such as us-west-2
.public String getLocation()
A fleet location to get game sessions for. You can specify a fleet's home Region or a remote location. Use the
Amazon Web Services Region code format, such as us-west-2
.
us-west-2
.public DescribeGameSessionsRequest withLocation(String location)
A fleet location to get game sessions for. You can specify a fleet's home Region or a remote location. Use the
Amazon Web Services Region code format, such as us-west-2
.
location
- A fleet location to get game sessions for. You can specify a fleet's home Region or a remote location. Use
the Amazon Web Services Region code format, such as us-west-2
.public void setStatusFilter(String statusFilter)
Game session status to filter results on. You can filter on the following states: ACTIVE
,
TERMINATED
, ACTIVATING
, and TERMINATING
. The last two are transitory and
used for only very brief periods of time.
statusFilter
- Game session status to filter results on. You can filter on the following states: ACTIVE
,
TERMINATED
, ACTIVATING
, and TERMINATING
. The last two are
transitory and used for only very brief periods of time.public String getStatusFilter()
Game session status to filter results on. You can filter on the following states: ACTIVE
,
TERMINATED
, ACTIVATING
, and TERMINATING
. The last two are transitory and
used for only very brief periods of time.
ACTIVE
,
TERMINATED
, ACTIVATING
, and TERMINATING
. The last two are
transitory and used for only very brief periods of time.public DescribeGameSessionsRequest withStatusFilter(String statusFilter)
Game session status to filter results on. You can filter on the following states: ACTIVE
,
TERMINATED
, ACTIVATING
, and TERMINATING
. The last two are transitory and
used for only very brief periods of time.
statusFilter
- Game session status to filter results on. You can filter on the following states: ACTIVE
,
TERMINATED
, ACTIVATING
, and TERMINATING
. The last two are
transitory and used for only very brief periods of time.public void setLimit(Integer limit)
The maximum number of results to return. Use this parameter with NextToken
to get results as a set
of sequential pages.
limit
- The maximum number of results to return. Use this parameter with NextToken
to get results as
a set of sequential pages.public Integer getLimit()
The 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)
The maximum number of results to return. Use this parameter with NextToken
to get results as a set
of sequential pages.
limit
- The 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)
A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
nextToken
- A token that indicates the start of the next sequential page of results. Use the token that is returned
with a previous call to this operation. To start at the beginning of the result set, do not specify a
value.public String getNextToken()
A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
public DescribeGameSessionsRequest withNextToken(String nextToken)
A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
nextToken
- A token that indicates the start of the next sequential page of results. Use the token that is returned
with a previous call to this operation. 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()