Interface UpdateGameSessionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateGameSessionRequest.Builder,UpdateGameSessionRequest>,GameLiftRequest.Builder,SdkBuilder<UpdateGameSessionRequest.Builder,UpdateGameSessionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateGameSessionRequest
public static interface UpdateGameSessionRequest.Builder extends GameLiftRequest.Builder, SdkPojo, CopyableBuilder<UpdateGameSessionRequest.Builder,UpdateGameSessionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateGameSessionRequest.BuildergameSessionId(String gameSessionId)A unique identifier for the game session to update.UpdateGameSessionRequest.BuildermaximumPlayerSessionCount(Integer maximumPlayerSessionCount)The maximum number of players that can be connected simultaneously to the game session.UpdateGameSessionRequest.Buildername(String name)A descriptive label that is associated with a game session.UpdateGameSessionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateGameSessionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateGameSessionRequest.BuilderplayerSessionCreationPolicy(String playerSessionCreationPolicy)A policy that determines whether the game session is accepting new players.UpdateGameSessionRequest.BuilderplayerSessionCreationPolicy(PlayerSessionCreationPolicy playerSessionCreationPolicy)A policy that determines whether the game session is accepting new players.UpdateGameSessionRequest.BuilderprotectionPolicy(String protectionPolicy)Game session protection policy to apply to this game session only.UpdateGameSessionRequest.BuilderprotectionPolicy(ProtectionPolicy protectionPolicy)Game session protection policy to apply to this game session only.-
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, sdkFields
-
-
-
-
Method Detail
-
gameSessionId
UpdateGameSessionRequest.Builder gameSessionId(String gameSessionId)
A unique identifier for the game session to update.
- Parameters:
gameSessionId- A unique identifier for the game session to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maximumPlayerSessionCount
UpdateGameSessionRequest.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.
-
name
UpdateGameSessionRequest.Builder name(String name)
A descriptive label that is associated with a game session. Session names do not need to be unique.
- Parameters:
name- 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.
-
playerSessionCreationPolicy
UpdateGameSessionRequest.Builder playerSessionCreationPolicy(String playerSessionCreationPolicy)
A policy that determines whether the game session is accepting new players.
- Parameters:
playerSessionCreationPolicy- A policy that determines whether the game session is accepting new players.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PlayerSessionCreationPolicy,PlayerSessionCreationPolicy
-
playerSessionCreationPolicy
UpdateGameSessionRequest.Builder playerSessionCreationPolicy(PlayerSessionCreationPolicy playerSessionCreationPolicy)
A policy that determines whether the game session is accepting new players.
- Parameters:
playerSessionCreationPolicy- A policy that determines whether the game session is accepting new players.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PlayerSessionCreationPolicy,PlayerSessionCreationPolicy
-
protectionPolicy
UpdateGameSessionRequest.Builder protectionPolicy(String protectionPolicy)
Game session protection policy to apply to this game session only.
-
NoProtection -- The game session can be terminated during a scale-down event.
-
FullProtection -- If the game session is in an
ACTIVEstatus, it cannot be terminated during a scale-down event.
- Parameters:
protectionPolicy- Game session protection policy to apply to this game session only.-
NoProtection -- The game session can be terminated during a scale-down event.
-
FullProtection -- If the game session is in an
ACTIVEstatus, it cannot be terminated during a scale-down event.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProtectionPolicy,ProtectionPolicy
-
-
protectionPolicy
UpdateGameSessionRequest.Builder protectionPolicy(ProtectionPolicy protectionPolicy)
Game session protection policy to apply to this game session only.
-
NoProtection -- The game session can be terminated during a scale-down event.
-
FullProtection -- If the game session is in an
ACTIVEstatus, it cannot be terminated during a scale-down event.
- Parameters:
protectionPolicy- Game session protection policy to apply to this game session only.-
NoProtection -- The game session can be terminated during a scale-down event.
-
FullProtection -- If the game session is in an
ACTIVEstatus, it cannot be terminated during a scale-down event.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProtectionPolicy,ProtectionPolicy
-
-
overrideConfiguration
UpdateGameSessionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateGameSessionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-