CopyableBuilder<UpdateGameSessionRequest.Builder,UpdateGameSessionRequest>
, SdkBuilder<UpdateGameSessionRequest.Builder,UpdateGameSessionRequest>
public static interface UpdateGameSessionRequest.Builder extends CopyableBuilder<UpdateGameSessionRequest.Builder,UpdateGameSessionRequest>
Modifier and Type | Method | Description |
---|---|---|
UpdateGameSessionRequest.Builder |
gameSessionId(String gameSessionId) |
Unique identifier for the game session to update.
|
UpdateGameSessionRequest.Builder |
maximumPlayerSessionCount(Integer maximumPlayerSessionCount) |
Maximum number of players that can be connected simultaneously to the game session.
|
UpdateGameSessionRequest.Builder |
name(String name) |
Descriptive label that is associated with a game session.
|
UpdateGameSessionRequest.Builder |
playerSessionCreationPolicy(String playerSessionCreationPolicy) |
Policy determining whether or not the game session accepts new players.
|
UpdateGameSessionRequest.Builder |
playerSessionCreationPolicy(PlayerSessionCreationPolicy playerSessionCreationPolicy) |
Policy determining whether or not the game session accepts new players.
|
UpdateGameSessionRequest.Builder |
protectionPolicy(String protectionPolicy) |
Game session protection policy to apply to this game session only.
|
UpdateGameSessionRequest.Builder |
protectionPolicy(ProtectionPolicy protectionPolicy) |
Game session protection policy to apply to this game session only.
|
copy
apply, build
UpdateGameSessionRequest.Builder gameSessionId(String gameSessionId)
Unique identifier for the game session to update.
gameSessionId
- Unique identifier for the game session to update.UpdateGameSessionRequest.Builder maximumPlayerSessionCount(Integer maximumPlayerSessionCount)
Maximum number of players that can be connected simultaneously to the game session.
maximumPlayerSessionCount
- Maximum number of players that can be connected simultaneously to the game session.UpdateGameSessionRequest.Builder name(String name)
Descriptive label that is associated with a game session. Session names do not need to be unique.
name
- Descriptive label that is associated with a game session. Session names do not need to be unique.UpdateGameSessionRequest.Builder playerSessionCreationPolicy(String playerSessionCreationPolicy)
Policy determining whether or not the game session accepts new players.
playerSessionCreationPolicy
- Policy determining whether or not the game session accepts new players.PlayerSessionCreationPolicy
UpdateGameSessionRequest.Builder playerSessionCreationPolicy(PlayerSessionCreationPolicy playerSessionCreationPolicy)
Policy determining whether or not the game session accepts new players.
playerSessionCreationPolicy
- Policy determining whether or not the game session accepts new players.PlayerSessionCreationPolicy
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 ACTIVE
status, it cannot be terminated
during a scale-down event.
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 ACTIVE
status, it cannot be
terminated during a scale-down event.
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 ACTIVE
status, it cannot be terminated
during a scale-down event.
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 ACTIVE
status, it cannot be
terminated during a scale-down event.
ProtectionPolicy
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.