/* * 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 StartSimulationJobBatchRequest 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 batch policy. *
*/ private BatchPolicy batchPolicy; /** ** A list of simulation job requests to create in the batch. *
*/ private java.util.List* A map that contains tag keys and tag values that are attached to the deployment job batch. *
*/ 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 StartSimulationJobBatchRequest withClientRequestToken(String clientRequestToken) { setClientRequestToken(clientRequestToken); return this; } /** ** The batch policy. *
* * @param batchPolicy * The batch policy. */ public void setBatchPolicy(BatchPolicy batchPolicy) { this.batchPolicy = batchPolicy; } /** ** The batch policy. *
* * @return The batch policy. */ public BatchPolicy getBatchPolicy() { return this.batchPolicy; } /** ** The batch policy. *
* * @param batchPolicy * The batch policy. * @return Returns a reference to this object so that method calls can be chained together. */ public StartSimulationJobBatchRequest withBatchPolicy(BatchPolicy batchPolicy) { setBatchPolicy(batchPolicy); return this; } /** ** A list of simulation job requests to create in the batch. *
* * @return A list of simulation job requests to create in the batch. */ public java.util.List* A list of simulation job requests to create in the batch. *
* * @param createSimulationJobRequests * A list of simulation job requests to create in the batch. */ public void setCreateSimulationJobRequests(java.util.Collection* A list of simulation job requests to create in the batch. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setCreateSimulationJobRequests(java.util.Collection)} or * {@link #withCreateSimulationJobRequests(java.util.Collection)} if you want to override the existing values. *
* * @param createSimulationJobRequests * A list of simulation job requests to create in the batch. * @return Returns a reference to this object so that method calls can be chained together. */ public StartSimulationJobBatchRequest withCreateSimulationJobRequests(SimulationJobRequest... createSimulationJobRequests) { if (this.createSimulationJobRequests == null) { setCreateSimulationJobRequests(new java.util.ArrayList* A list of simulation job requests to create in the batch. *
* * @param createSimulationJobRequests * A list of simulation job requests to create in the batch. * @return Returns a reference to this object so that method calls can be chained together. */ public StartSimulationJobBatchRequest withCreateSimulationJobRequests(java.util.Collection* A map that contains tag keys and tag values that are attached to the deployment job batch. *
* * @return A map that contains tag keys and tag values that are attached to the deployment job batch. */ public java.util.Map* A map that contains tag keys and tag values that are attached to the deployment job batch. *
* * @param tags * A map that contains tag keys and tag values that are attached to the deployment job batch. */ public void setTags(java.util.Map* A map that contains tag keys and tag values that are attached to the deployment job batch. *
* * @param tags * A map that contains tag keys and tag values that are attached to the deployment job batch. * @return Returns a reference to this object so that method calls can be chained together. */ public StartSimulationJobBatchRequest withTags(java.util.Map