public static interface GameSessionDetail.Builder extends CopyableBuilder<GameSessionDetail.Builder,GameSessionDetail>
Modifier and Type | Method and Description |
---|---|
default GameSessionDetail.Builder |
gameSession(Consumer<GameSession.Builder> gameSession)
Object that describes a game session.
|
GameSessionDetail.Builder |
gameSession(GameSession gameSession)
Object that describes a game session.
|
GameSessionDetail.Builder |
protectionPolicy(ProtectionPolicy protectionPolicy)
Current status of protection for the game session.
|
GameSessionDetail.Builder |
protectionPolicy(String protectionPolicy)
Current status of protection for the game session.
|
copy
applyMutation, build
GameSessionDetail.Builder gameSession(GameSession gameSession)
Object that describes a game session.
gameSession
- Object that describes a game session.default GameSessionDetail.Builder gameSession(Consumer<GameSession.Builder> gameSession)
Object that describes a game session.
This is a convenience that creates an instance of theGameSession.Builder
avoiding the need to create
one manually via GameSession.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to gameSession(GameSession)
.gameSession
- a consumer that will call methods on GameSession.Builder
gameSession(GameSession)
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 ACTIVE
status, it cannot be terminated
during a scale-down event.
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.
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 ACTIVE
status, it cannot be terminated
during a scale-down event.
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.
ProtectionPolicy
,
ProtectionPolicy
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.