@Generated(value="software.amazon.awssdk:codegen") public final class StartGameSessionPlacementRequest extends GameLiftRequest implements ToCopyableBuilder<StartGameSessionPlacementRequest.Builder,StartGameSessionPlacementRequest>
Represents the input for a request action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StartGameSessionPlacementRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StartGameSessionPlacementRequest.Builder |
builder() |
List<DesiredPlayerSession> |
desiredPlayerSessions()
Set of information on each player to create a player session for.
|
boolean |
equals(Object obj) |
List<GameProperty> |
gameProperties()
Set of custom properties for a game session, formatted as key:value pairs.
|
String |
gameSessionData()
Set of custom game session properties, formatted as a single string value.
|
String |
gameSessionName()
Descriptive label that is associated with a game session.
|
String |
gameSessionQueueName()
Name of the queue to use to place the new game session.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maximumPlayerSessionCount()
Maximum number of players that can be connected simultaneously to the game session.
|
String |
placementId()
Unique identifier to assign to the new game session placement.
|
List<PlayerLatency> |
playerLatencies()
Set of values, expressed in milliseconds, indicating the amount of latency that a player experiences when
connected to AWS regions.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StartGameSessionPlacementRequest.Builder> |
serializableBuilderClass() |
StartGameSessionPlacementRequest.Builder |
toBuilder() |
String |
toString() |
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String placementId()
Unique identifier to assign to the new game session placement. This value is developer-defined. The value must be unique across all regions and cannot be reused unless you are resubmitting a canceled or timed-out placement request.
public String gameSessionQueueName()
Name of the queue to use to place the new game session.
public List<GameProperty> gameProperties()
Set of custom properties for a game session, formatted as key:value pairs. These properties are passed to a game server process in the GameSession object with a request to start a new game session (see Start a Game Session).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Integer maximumPlayerSessionCount()
Maximum number of players that can be connected simultaneously to the game session.
public String gameSessionName()
Descriptive label that is associated with a game session. Session names do not need to be unique.
public List<PlayerLatency> playerLatencies()
Set of values, expressed in milliseconds, indicating the amount of latency that a player experiences when connected to AWS regions. This information is used to try to place the new game session where it can offer the best possible gameplay experience for the players.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<DesiredPlayerSession> desiredPlayerSessions()
Set of information on each player to create a player session for.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String gameSessionData()
Set of custom game session properties, formatted as a single string value. This data is passed to a game server process in the GameSession object with a request to start a new game session (see Start a Game Session).
public StartGameSessionPlacementRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StartGameSessionPlacementRequest.Builder,StartGameSessionPlacementRequest>toBuilder in class GameLiftRequestpublic static StartGameSessionPlacementRequest.Builder builder()
public static Class<? extends StartGameSessionPlacementRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.