/* * 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.robomaker.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 CreateWorldTemplateRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. *
*/ private String clientRequestToken; /** ** The name of the world template. *
*/ private String name; /** ** The world template body. *
*/ private String templateBody; /** ** The location of the world template. *
*/ private TemplateLocation templateLocation; /** ** A map that contains tag keys and tag values that are attached to the world template. *
*/ private java.util.Map* Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. *
* * @param clientRequestToken * Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. */ public void setClientRequestToken(String clientRequestToken) { this.clientRequestToken = clientRequestToken; } /** ** Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. *
* * @return Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. */ public String getClientRequestToken() { return this.clientRequestToken; } /** ** Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. *
* * @param clientRequestToken * Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateWorldTemplateRequest withClientRequestToken(String clientRequestToken) { setClientRequestToken(clientRequestToken); return this; } /** ** The name of the world template. *
* * @param name * The name of the world template. */ public void setName(String name) { this.name = name; } /** ** The name of the world template. *
* * @return The name of the world template. */ public String getName() { return this.name; } /** ** The name of the world template. *
* * @param name * The name of the world template. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateWorldTemplateRequest withName(String name) { setName(name); return this; } /** ** The world template body. *
* * @param templateBody * The world template body. */ public void setTemplateBody(String templateBody) { this.templateBody = templateBody; } /** ** The world template body. *
* * @return The world template body. */ public String getTemplateBody() { return this.templateBody; } /** ** The world template body. *
* * @param templateBody * The world template body. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateWorldTemplateRequest withTemplateBody(String templateBody) { setTemplateBody(templateBody); return this; } /** ** The location of the world template. *
* * @param templateLocation * The location of the world template. */ public void setTemplateLocation(TemplateLocation templateLocation) { this.templateLocation = templateLocation; } /** ** The location of the world template. *
* * @return The location of the world template. */ public TemplateLocation getTemplateLocation() { return this.templateLocation; } /** ** The location of the world template. *
* * @param templateLocation * The location of the world template. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateWorldTemplateRequest withTemplateLocation(TemplateLocation templateLocation) { setTemplateLocation(templateLocation); return this; } /** ** A map that contains tag keys and tag values that are attached to the world template. *
* * @return A map that contains tag keys and tag values that are attached to the world template. */ public java.util.Map* A map that contains tag keys and tag values that are attached to the world template. *
* * @param tags * A map that contains tag keys and tag values that are attached to the world template. */ public void setTags(java.util.Map* A map that contains tag keys and tag values that are attached to the world template. *
* * @param tags * A map that contains tag keys and tag values that are attached to the world template. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateWorldTemplateRequest withTags(java.util.Map