Interface GameSessionDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GameSessionDetail.Builder,GameSessionDetail>,SdkBuilder<GameSessionDetail.Builder,GameSessionDetail>,SdkPojo
- Enclosing class:
- GameSessionDetail
public static interface GameSessionDetail.Builder extends SdkPojo, CopyableBuilder<GameSessionDetail.Builder,GameSessionDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GameSessionDetail.BuildergameSession(Consumer<GameSession.Builder> gameSession)Object that describes a game session.GameSessionDetail.BuildergameSession(GameSession gameSession)Object that describes a game session.GameSessionDetail.BuilderprotectionPolicy(String protectionPolicy)Current status of protection for the game session.GameSessionDetail.BuilderprotectionPolicy(ProtectionPolicy protectionPolicy)Current status of protection for the game session.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
gameSession
GameSessionDetail.Builder gameSession(GameSession gameSession)
Object that describes a game session.
- Parameters:
gameSession- Object that describes a game session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameSession
default GameSessionDetail.Builder gameSession(Consumer<GameSession.Builder> gameSession)
Object that describes a game session.
This is a convenience method that creates an instance of theGameSession.Builderavoiding the need to create one manually viaGameSession.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togameSession(GameSession).- Parameters:
gameSession- a consumer that will call methods onGameSession.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
gameSession(GameSession)
-
protectionPolicy
GameSessionDetail.Builder protectionPolicy(String protectionPolicy)
Current status of protection for the game session.
-
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- Current status of protection for the game session.-
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
GameSessionDetail.Builder protectionPolicy(ProtectionPolicy protectionPolicy)
Current status of protection for the game session.
-
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- Current status of protection for the game session.-
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
-
-
-