@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GameDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details about a game.
Constructor and Description |
---|
GameDetails() |
Modifier and Type | Method and Description |
---|---|
GameDetails |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GameDetails |
clearTagsEntries()
Removes all the entries added into Tags.
|
GameDetails |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of this game.
|
Date |
getCreated()
The date when the game was created.
|
String |
getDescription()
The description of the game.
|
Boolean |
getEnableTerminationProtection()
Determines if the game can be deleted.
|
Date |
getLastUpdated()
The date when the game was last modified.
|
String |
getName()
The name of the game.
|
String |
getState()
The state of the game.
|
Map<String,String> |
getTags()
The tags associated with the game.
|
int |
hashCode() |
Boolean |
isEnableTerminationProtection()
Determines if the game can be deleted.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of this game.
|
void |
setCreated(Date created)
The date when the game was created.
|
void |
setDescription(String description)
The description of the game.
|
void |
setEnableTerminationProtection(Boolean enableTerminationProtection)
Determines if the game can be deleted.
|
void |
setLastUpdated(Date lastUpdated)
The date when the game was last modified.
|
void |
setName(String name)
The name of the game.
|
void |
setState(String state)
The state of the game.
|
void |
setTags(Map<String,String> tags)
The tags associated with the game.
|
String |
toString()
Returns a string representation of this object.
|
GameDetails |
withArn(String arn)
The Amazon Resource Name (ARN) of this game.
|
GameDetails |
withCreated(Date created)
The date when the game was created.
|
GameDetails |
withDescription(String description)
The description of the game.
|
GameDetails |
withEnableTerminationProtection(Boolean enableTerminationProtection)
Determines if the game can be deleted.
|
GameDetails |
withLastUpdated(Date lastUpdated)
The date when the game was last modified.
|
GameDetails |
withName(String name)
The name of the game.
|
GameDetails |
withState(GameState state)
The state of the game.
|
GameDetails |
withState(String state)
The state of the game.
|
GameDetails |
withTags(Map<String,String> tags)
The tags associated with the game.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of this game.
arn
- The Amazon Resource Name (ARN) of this game.public String getArn()
The Amazon Resource Name (ARN) of this game.
public GameDetails withArn(String arn)
The Amazon Resource Name (ARN) of this game.
arn
- The Amazon Resource Name (ARN) of this game.public void setCreated(Date created)
The date when the game was created.
created
- The date when the game was created.public Date getCreated()
The date when the game was created.
public GameDetails withCreated(Date created)
The date when the game was created.
created
- The date when the game was created.public void setDescription(String description)
The description of the game.
description
- The description of the game.public String getDescription()
The description of the game.
public GameDetails withDescription(String description)
The description of the game.
description
- The description of the game.public void setEnableTerminationProtection(Boolean enableTerminationProtection)
Determines if the game can be deleted.
enableTerminationProtection
- Determines if the game can be deleted.public Boolean getEnableTerminationProtection()
Determines if the game can be deleted.
public GameDetails withEnableTerminationProtection(Boolean enableTerminationProtection)
Determines if the game can be deleted.
enableTerminationProtection
- Determines if the game can be deleted.public Boolean isEnableTerminationProtection()
Determines if the game can be deleted.
public void setLastUpdated(Date lastUpdated)
The date when the game was last modified.
lastUpdated
- The date when the game was last modified.public Date getLastUpdated()
The date when the game was last modified.
public GameDetails withLastUpdated(Date lastUpdated)
The date when the game was last modified.
lastUpdated
- The date when the game was last modified.public void setName(String name)
The name of the game.
name
- The name of the game.public String getName()
The name of the game.
public GameDetails withName(String name)
The name of the game.
name
- The name of the game.public void setState(String state)
The state of the game.
state
- The state of the game.GameState
public String getState()
The state of the game.
GameState
public GameDetails withState(String state)
The state of the game.
state
- The state of the game.GameState
public GameDetails withState(GameState state)
The state of the game.
state
- The state of the game.GameState
public Map<String,String> getTags()
The tags associated with the game.
public void setTags(Map<String,String> tags)
The tags associated with the game.
tags
- The tags associated with the game.public GameDetails withTags(Map<String,String> tags)
The tags associated with the game.
tags
- The tags associated with the game.public GameDetails addTagsEntry(String key, String value)
public GameDetails clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public GameDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.