@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GameSessionDetail extends Object implements Serializable, Cloneable, StructuredPojo
A game session's properties plus the protection policy currently in force.
| Constructor and Description |
|---|
GameSessionDetail() |
| Modifier and Type | Method and Description |
|---|---|
GameSessionDetail |
clone() |
boolean |
equals(Object obj) |
GameSession |
getGameSession()
Object that describes a game session.
|
String |
getProtectionPolicy()
Current status of protection for the game session.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setGameSession(GameSession gameSession)
Object that describes a game session.
|
void |
setProtectionPolicy(ProtectionPolicy protectionPolicy)
Current status of protection for the game session.
|
void |
setProtectionPolicy(String protectionPolicy)
Current status of protection for the game session.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GameSessionDetail |
withGameSession(GameSession gameSession)
Object that describes a game session.
|
GameSessionDetail |
withProtectionPolicy(ProtectionPolicy protectionPolicy)
Current status of protection for the game session.
|
GameSessionDetail |
withProtectionPolicy(String protectionPolicy)
Current status of protection for the game session.
|
public void setGameSession(GameSession gameSession)
Object that describes a game session.
gameSession - Object that describes a game session.public GameSession getGameSession()
Object that describes a game session.
public GameSessionDetail withGameSession(GameSession gameSession)
Object that describes a game session.
gameSession - Object that describes a game session.public void setProtectionPolicy(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.
ProtectionPolicypublic String getProtectionPolicy()
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.
ProtectionPolicypublic GameSessionDetail withProtectionPolicy(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.
ProtectionPolicypublic void setProtectionPolicy(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.
ProtectionPolicypublic GameSessionDetail withProtectionPolicy(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.
ProtectionPolicypublic String toString()
toString in class ObjectObject.toString()public GameSessionDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.