@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. For example, a game property might specify a game mode, level, or map. Game properties are passed to the game server process when initiating a new game session. 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()
The game property identifier.
|
String |
getValue()
The game property value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setKey(String key)
The game property identifier.
|
void |
setValue(String value)
The game property value.
|
String |
toString()
Returns a string representation of this object.
|
GameProperty |
withKey(String key)
The game property identifier.
|
GameProperty |
withValue(String value)
The game property value.
|
public void setKey(String key)
The game property identifier.
key - The game property identifier.public String getKey()
The game property identifier.
public GameProperty withKey(String key)
The game property identifier.
key - The game property identifier.public void setValue(String value)
The game property value.
value - The game property value.public String getValue()
The game property value.
public GameProperty withValue(String value)
The game property value.
value - The game property value.public String toString()
toString in class ObjectObject.toString()public GameProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.