@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.
ProtectionPolicy
public 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.
ProtectionPolicy
public 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.
ProtectionPolicy
public 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.
ProtectionPolicy
public 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.
ProtectionPolicy
public String toString()
toString
in class Object
Object.toString()
public GameSessionDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.