/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.gamesparks.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateGameRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* A client-defined token. With an active client token in the request, this action is idempotent. *
*/ private String clientToken; /** ** The description of the game. *
*/ private String description; /** ** The name of the game. *
*/ private String gameName; /** ** The list of tags to apply to the game. *
*/ private java.util.Map* A client-defined token. With an active client token in the request, this action is idempotent. *
* * @param clientToken * A client-defined token. With an active client token in the request, this action is idempotent. */ public void setClientToken(String clientToken) { this.clientToken = clientToken; } /** ** A client-defined token. With an active client token in the request, this action is idempotent. *
* * @return A client-defined token. With an active client token in the request, this action is idempotent. */ public String getClientToken() { return this.clientToken; } /** ** A client-defined token. With an active client token in the request, this action is idempotent. *
* * @param clientToken * A client-defined token. With an active client token in the request, this action is idempotent. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateGameRequest withClientToken(String clientToken) { setClientToken(clientToken); return this; } /** ** The description of the game. *
* * @param description * The description of the game. */ public void setDescription(String description) { this.description = description; } /** ** The description of the game. *
* * @return The description of the game. */ public String getDescription() { return this.description; } /** ** The description of the game. *
* * @param description * The description of the game. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateGameRequest withDescription(String description) { setDescription(description); return this; } /** ** The name of the game. *
* * @param gameName * The name of the game. */ public void setGameName(String gameName) { this.gameName = gameName; } /** ** The name of the game. *
* * @return The name of the game. */ public String getGameName() { return this.gameName; } /** ** The name of the game. *
* * @param gameName * The name of the game. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateGameRequest withGameName(String gameName) { setGameName(gameName); return this; } /** ** The list of tags to apply to the game. *
* * @return The list of tags to apply to the game. */ public java.util.Map* The list of tags to apply to the game. *
* * @param tags * The list of tags to apply to the game. */ public void setTags(java.util.Map* The list of tags to apply to the game. *
* * @param tags * The list of tags to apply to the game. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateGameRequest withTags(java.util.Map