Interface GameSessionDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GameSessionDetail.Builder,
,GameSessionDetail> SdkBuilder<GameSessionDetail.Builder,
,GameSessionDetail> SdkPojo
- Enclosing class:
GameSessionDetail
-
Method Summary
Modifier and TypeMethodDescriptiondefault GameSessionDetail.Builder
gameSession
(Consumer<GameSession.Builder> gameSession) Object that describes a game session.gameSession
(GameSession gameSession) Object that describes a game session.protectionPolicy
(String protectionPolicy) Current status of protection for the game session.protectionPolicy
(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 Details
-
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
Object that describes a game session.
This is a convenience method that creates an instance of theGameSession.Builder
avoiding the need to create one manually viaGameSession.builder()
.When the
Consumer
completes,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:
-
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
ACTIVE
status, 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
ACTIVE
status, 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
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
ACTIVE
status, 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
ACTIVE
status, 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:
-
-