Interface GameSessionDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GameSessionDetail.Builder,,GameSessionDetail> SdkBuilder<GameSessionDetail.Builder,,GameSessionDetail> SdkPojo
- Enclosing class:
GameSessionDetail
-
Method Summary
Modifier and TypeMethodDescriptiondefault GameSessionDetail.BuildergameSession(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.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:
-
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
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:
-
-