Cloneable
, ReadLimitInfo
, ToCopyableBuilder<CreateGameSessionRequest.Builder,CreateGameSessionRequest>
@Generated("software.amazon.awssdk:codegen") public class CreateGameSessionRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<CreateGameSessionRequest.Builder,CreateGameSessionRequest>
Represents the input for a request action.
Modifier and Type | Class | Description |
---|---|---|
static interface |
CreateGameSessionRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
String |
aliasId() |
Unique identifier for an alias associated with the fleet to create a game session in.
|
static CreateGameSessionRequest.Builder |
builder() |
|
String |
creatorId() |
Unique identifier for a player or entity creating the game session.
|
boolean |
equals(Object obj) |
|
String |
fleetId() |
Unique identifier for a fleet to create a game session in.
|
List<GameProperty> |
gameProperties() |
Set of developer-defined properties for a game session.
|
String |
gameSessionId() |
This parameter is no longer preferred.
|
int |
hashCode() |
|
String |
idempotencyToken() |
Custom string that uniquely identifies a request for a new game session.
|
Integer |
maximumPlayerSessionCount() |
Maximum number of players that can be connected simultaneously to the game session.
|
String |
name() |
Descriptive label that is associated with a game session.
|
static Class<? extends CreateGameSessionRequest.Builder> |
serializableBuilderClass() |
|
CreateGameSessionRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String fleetId()
Unique identifier for a fleet to create a game session in. Each request must reference either a fleet ID or alias ID, but not both.
public String aliasId()
Unique identifier for an alias associated with the fleet to create a game session in. Each request must reference either a fleet ID or alias ID, but not both.
public Integer maximumPlayerSessionCount()
Maximum number of players that can be connected simultaneously to the game session.
public String name()
Descriptive label that is associated with a game session. Session names do not need to be unique.
public List<GameProperty> gameProperties()
Set of developer-defined properties for a game session. These properties are passed to the server process hosting the game session.
public String creatorId()
Unique identifier for a player or entity creating the game session. This ID is used to enforce a resource protection policy (if one exists) that limits the number of concurrent active game sessions one player can have.
public String gameSessionId()
This parameter is no longer preferred. Please use IdempotencyToken
instead. Custom string
that uniquely identifies a request for a new game session. Maximum token length is 48 characters. If provided,
this string is included in the new game session's ID. (A game session ID has the following format:
arn:aws:gamelift:<region>::gamesession/<fleet ID>/<custom ID string or idempotency token>
.)
IdempotencyToken
instead. Custom
string that uniquely identifies a request for a new game session. Maximum token length is 48 characters.
If provided, this string is included in the new game session's ID. (A game session ID has the following
format:
arn:aws:gamelift:<region>::gamesession/<fleet ID>/<custom ID string or idempotency token>
.)public String idempotencyToken()
Custom string that uniquely identifies a request for a new game session. Maximum token length is 48 characters.
If provided, this string is included in the new game session's ID. (A game session ID has the following format:
arn:aws:gamelift:<region>::gamesession/<fleet ID>/<custom ID string or idempotency token>
.)
arn:aws:gamelift:<region>::gamesession/<fleet ID>/<custom ID string or idempotency token>
.)public CreateGameSessionRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateGameSessionRequest.Builder,CreateGameSessionRequest>
public static CreateGameSessionRequest.Builder builder()
public static Class<? extends CreateGameSessionRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.