@Generated(value="software.amazon.awssdk:codegen") public final class DescribePlayerSessionsRequest extends GameLiftRequest implements ToCopyableBuilder<DescribePlayerSessionsRequest.Builder,DescribePlayerSessionsRequest>
Represents the input for a request operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribePlayerSessionsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribePlayerSessionsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
gameSessionId()
A unique identifier for the game session to retrieve player sessions for.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
limit()
The maximum number of results to return.
|
String |
nextToken()
Token that indicates the start of the next sequential page of results.
|
String |
playerId()
A unique identifier for a player to retrieve player sessions for.
|
String |
playerSessionId()
A unique identifier for a player session to retrieve.
|
String |
playerSessionStatusFilter()
Player session status to filter results on.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribePlayerSessionsRequest.Builder> |
serializableBuilderClass() |
DescribePlayerSessionsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String gameSessionId()
A unique identifier for the game session to retrieve player sessions for.
public final String playerId()
A unique identifier for a player to retrieve player sessions for.
public final String playerSessionId()
A unique identifier for a player session to retrieve.
public final String playerSessionStatusFilter()
Player session status to filter results on.
Possible player session statuses include the following:
RESERVED -- The player session request has been received, but the player has not yet connected to the server process and/or been validated.
ACTIVE -- The player has been validated by the server process and is currently connected.
COMPLETED -- The player connection has been dropped.
TIMEDOUT -- A player session request was received, but the player did not connect and/or was not validated within the timeout limit (60 seconds).
Possible player session statuses include the following:
RESERVED -- The player session request has been received, but the player has not yet connected to the server process and/or been validated.
ACTIVE -- The player has been validated by the server process and is currently connected.
COMPLETED -- The player connection has been dropped.
TIMEDOUT -- A player session request was received, but the player did not connect and/or was not validated within the timeout limit (60 seconds).
public final Integer limit()
The maximum number of results to return. Use this parameter with NextToken to get results as a set
of sequential pages. If a player session ID is specified, this parameter is ignored.
NextToken to get results as
a set of sequential pages. If a player session ID is specified, this parameter is ignored.public final 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 operation. To start at the beginning of the result set, do not specify a value. If a player session ID is specified, this parameter is ignored.
public DescribePlayerSessionsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribePlayerSessionsRequest.Builder,DescribePlayerSessionsRequest>toBuilder in class GameLiftRequestpublic static DescribePlayerSessionsRequest.Builder builder()
public static Class<? extends DescribePlayerSessionsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.