@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GameProperty extends Object implements Serializable, Cloneable, StructuredPojo
Set of key-value pairs that contain information about a game session. When included in a game session request, these properties communicate details to be used when setting up the new game session, such as to specify a game mode, level, or map. Game properties are passed to the game server process when initiating a new game session; the server process uses the properties as appropriate. For more information, see the Amazon GameLift Developer Guide.
| Constructor and Description |
|---|
GameProperty() |
| Modifier and Type | Method and Description |
|---|---|
GameProperty |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
Game property identifier.
|
String |
getValue()
Game property value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setKey(String key)
Game property identifier.
|
void |
setValue(String value)
Game property value.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GameProperty |
withKey(String key)
Game property identifier.
|
GameProperty |
withValue(String value)
Game property value.
|
public void setKey(String key)
Game property identifier.
key - Game property identifier.public String getKey()
Game property identifier.
public GameProperty withKey(String key)
Game property identifier.
key - Game property identifier.public void setValue(String value)
Game property value.
value - Game property value.public String getValue()
Game property value.
public GameProperty withValue(String value)
Game property value.
value - Game property value.public String toString()
toString in class ObjectObject.toString()public GameProperty 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.