public class GameProperty extends Object implements Serializable, Cloneable
Set of key-value pairs containing information a server process requires to set up a game session. This object allows you to pass in any set of data needed for your game. 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() |
String |
getValue() |
int |
hashCode() |
void |
setKey(String key) |
void |
setValue(String value) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GameProperty |
withKey(String key) |
GameProperty |
withValue(String value) |
public void setKey(String key)
key
- public String getKey()
public GameProperty withKey(String key)
key
- public void setValue(String value)
value
- public String getValue()
public GameProperty withValue(String value)
value
- public String toString()
toString
in class Object
Object.toString()
public GameProperty clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.