@Generated(value="software.amazon.awssdk:codegen") public final class StartGameSessionPlacementRequest extends GameLiftRequest implements ToCopyableBuilder<StartGameSessionPlacementRequest.Builder,StartGameSessionPlacementRequest>
Represents the input for a request operation.
| 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) |
boolean |
equalsBySdkFields(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()
A 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) |
boolean |
hasDesiredPlayerSessions()
Returns true if the DesiredPlayerSessions property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasGameProperties()
Returns true if the GameProperties property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasPlayerLatencies()
Returns true if the PlayerLatencies property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
Integer |
maximumPlayerSessionCount()
The maximum number of players that can be connected simultaneously to the game session.
|
String |
placementId()
A 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()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String placementId()
A 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. You can use either the queue name or ARN value.
public boolean hasGameProperties()
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.
You can use hasGameProperties() to see if a value was sent in this field.
public Integer maximumPlayerSessionCount()
The maximum number of players that can be connected simultaneously to the game session.
public String gameSessionName()
A descriptive label that is associated with a game session. Session names do not need to be unique.
public boolean hasPlayerLatencies()
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.
You can use hasPlayerLatencies() to see if a value was sent in this field.
public boolean hasDesiredPlayerSessions()
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.
You can use hasDesiredPlayerSessions() to see if a value was sent in this field.
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 int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.