@Generated(value="software.amazon.awssdk:codegen") public class GameProperty extends Object implements StructuredPojo, ToCopyableBuilder<GameProperty.Builder,GameProperty>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
GameProperty.Builder |
Modifier and Type | Method and Description |
---|---|
static GameProperty.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
Game property identifier.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends GameProperty.Builder> |
serializableBuilderClass() |
GameProperty.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
value()
Game property value.
|
copy
public String key()
Game property identifier.
public String value()
Game property value.
public GameProperty.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GameProperty.Builder,GameProperty>
public static GameProperty.Builder builder()
public static Class<? extends GameProperty.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.