StructuredPojo
, ToCopyableBuilder<GameSessionDetail.Builder,GameSessionDetail>
@Generated("software.amazon.awssdk:codegen") public class GameSessionDetail extends Object implements StructuredPojo, ToCopyableBuilder<GameSessionDetail.Builder,GameSessionDetail>
A game session's properties plus the protection policy currently in force.
Modifier and Type | Class | Description |
---|---|---|
static interface |
GameSessionDetail.Builder |
Modifier and Type | Method | Description |
---|---|---|
static GameSessionDetail.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
GameSession |
gameSession() |
Object that describes a game session.
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
protectionPolicy() |
Current status of protection for the game session.
|
static Class<? extends GameSessionDetail.Builder> |
serializableBuilderClass() |
|
GameSessionDetail.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public GameSession gameSession()
Object that describes a game session.
public 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.
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
public GameSessionDetail.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GameSessionDetail.Builder,GameSessionDetail>
public static GameSessionDetail.Builder builder()
public static Class<? extends GameSessionDetail.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.