Interface StartGameSessionPlacementRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartGameSessionPlacementRequest.Builder,StartGameSessionPlacementRequest>,GameLiftRequest.Builder,SdkBuilder<StartGameSessionPlacementRequest.Builder,StartGameSessionPlacementRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartGameSessionPlacementRequest
public static interface StartGameSessionPlacementRequest.Builder extends GameLiftRequest.Builder, SdkPojo, CopyableBuilder<StartGameSessionPlacementRequest.Builder,StartGameSessionPlacementRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartGameSessionPlacementRequest.BuilderdesiredPlayerSessions(Collection<DesiredPlayerSession> desiredPlayerSessions)Set of information on each player to create a player session for.StartGameSessionPlacementRequest.BuilderdesiredPlayerSessions(Consumer<DesiredPlayerSession.Builder>... desiredPlayerSessions)Set of information on each player to create a player session for.StartGameSessionPlacementRequest.BuilderdesiredPlayerSessions(DesiredPlayerSession... desiredPlayerSessions)Set of information on each player to create a player session for.StartGameSessionPlacementRequest.BuildergameProperties(Collection<GameProperty> gameProperties)A set of key-value pairs that can store custom data in a game session.StartGameSessionPlacementRequest.BuildergameProperties(Consumer<GameProperty.Builder>... gameProperties)A set of key-value pairs that can store custom data in a game session.StartGameSessionPlacementRequest.BuildergameProperties(GameProperty... gameProperties)A set of key-value pairs that can store custom data in a game session.StartGameSessionPlacementRequest.BuildergameSessionData(String gameSessionData)A set of custom game session properties, formatted as a single string value.StartGameSessionPlacementRequest.BuildergameSessionName(String gameSessionName)A descriptive label that is associated with a game session.StartGameSessionPlacementRequest.BuildergameSessionQueueName(String gameSessionQueueName)Name of the queue to use to place the new game session.StartGameSessionPlacementRequest.BuildermaximumPlayerSessionCount(Integer maximumPlayerSessionCount)The maximum number of players that can be connected simultaneously to the game session.StartGameSessionPlacementRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartGameSessionPlacementRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartGameSessionPlacementRequest.BuilderplacementId(String placementId)A unique identifier to assign to the new game session placement.StartGameSessionPlacementRequest.BuilderplayerLatencies(Collection<PlayerLatency> playerLatencies)A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when connected to @aws; Regions.StartGameSessionPlacementRequest.BuilderplayerLatencies(Consumer<PlayerLatency.Builder>... playerLatencies)A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when connected to @aws; Regions.StartGameSessionPlacementRequest.BuilderplayerLatencies(PlayerLatency... playerLatencies)A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when connected to @aws; Regions.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
placementId
StartGameSessionPlacementRequest.Builder placementId(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameSessionQueueName
StartGameSessionPlacementRequest.Builder gameSessionQueueName(String gameSessionQueueName)
Name of the queue to use to place the new game session. You can use either the queue name or ARN value.
- Parameters:
gameSessionQueueName- Name of the queue to use to place the new game session. You can use either the queue name or ARN value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameProperties
StartGameSessionPlacementRequest.Builder gameProperties(Collection<GameProperty> gameProperties)
A set of key-value pairs that can store custom data in a game session. For example:
{"Key": "difficulty", "Value": "novice"}.- Parameters:
gameProperties- A set of key-value pairs that can store custom data in a game session. For example:{"Key": "difficulty", "Value": "novice"}.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameProperties
StartGameSessionPlacementRequest.Builder gameProperties(GameProperty... gameProperties)
A set of key-value pairs that can store custom data in a game session. For example:
{"Key": "difficulty", "Value": "novice"}.- Parameters:
gameProperties- A set of key-value pairs that can store custom data in a game session. For example:{"Key": "difficulty", "Value": "novice"}.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameProperties
StartGameSessionPlacementRequest.Builder gameProperties(Consumer<GameProperty.Builder>... gameProperties)
A set of key-value pairs that can store custom data in a game session. For example:
This is a convenience method that creates an instance of the{"Key": "difficulty", "Value": "novice"}.GameProperty.Builderavoiding the need to create one manually viaGameProperty.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#gameProperties(List.) - Parameters:
gameProperties- a consumer that will call methods onGameProperty.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#gameProperties(java.util.Collection)
-
maximumPlayerSessionCount
StartGameSessionPlacementRequest.Builder maximumPlayerSessionCount(Integer maximumPlayerSessionCount)
The maximum number of players that can be connected simultaneously to the game session.
- Parameters:
maximumPlayerSessionCount- The maximum number of players that can be connected simultaneously to the game session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameSessionName
StartGameSessionPlacementRequest.Builder gameSessionName(String gameSessionName)
A descriptive label that is associated with a game session. Session names do not need to be unique.
- Parameters:
gameSessionName- A descriptive label that is associated with a game session. Session names do not need to be unique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
playerLatencies
StartGameSessionPlacementRequest.Builder playerLatencies(Collection<PlayerLatency> playerLatencies)
A set of values, expressed in milliseconds, that indicates 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.
- Parameters:
playerLatencies- A set of values, expressed in milliseconds, that indicates 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
playerLatencies
StartGameSessionPlacementRequest.Builder playerLatencies(PlayerLatency... playerLatencies)
A set of values, expressed in milliseconds, that indicates 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.
- Parameters:
playerLatencies- A set of values, expressed in milliseconds, that indicates 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
playerLatencies
StartGameSessionPlacementRequest.Builder playerLatencies(Consumer<PlayerLatency.Builder>... playerLatencies)
A set of values, expressed in milliseconds, that indicates 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.
This is a convenience method that creates an instance of thePlayerLatency.Builderavoiding the need to create one manually viaPlayerLatency.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#playerLatencies(List.) - Parameters:
playerLatencies- a consumer that will call methods onPlayerLatency.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#playerLatencies(java.util.Collection)
-
desiredPlayerSessions
StartGameSessionPlacementRequest.Builder desiredPlayerSessions(Collection<DesiredPlayerSession> desiredPlayerSessions)
Set of information on each player to create a player session for.
- Parameters:
desiredPlayerSessions- Set of information on each player to create a player session for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredPlayerSessions
StartGameSessionPlacementRequest.Builder desiredPlayerSessions(DesiredPlayerSession... desiredPlayerSessions)
Set of information on each player to create a player session for.
- Parameters:
desiredPlayerSessions- Set of information on each player to create a player session for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredPlayerSessions
StartGameSessionPlacementRequest.Builder desiredPlayerSessions(Consumer<DesiredPlayerSession.Builder>... desiredPlayerSessions)
Set of information on each player to create a player session for.
This is a convenience method that creates an instance of theDesiredPlayerSession.Builderavoiding the need to create one manually viaDesiredPlayerSession.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#desiredPlayerSessions(List.) - Parameters:
desiredPlayerSessions- a consumer that will call methods onDesiredPlayerSession.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#desiredPlayerSessions(java.util.Collection)
-
gameSessionData
StartGameSessionPlacementRequest.Builder gameSessionData(String gameSessionData)
A set of custom game session properties, formatted as a single string value. This data is passed to a game server process with a request to start a new game session. For more information, see Start a game session.
- Parameters:
gameSessionData- A set of custom game session properties, formatted as a single string value. This data is passed to a game server process with a request to start a new game session. For more information, see Start a game session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartGameSessionPlacementRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartGameSessionPlacementRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-