/*
* 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;
/**
*
* @see AWS API Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class DescribeSimulationJobBatchResult extends com.amazonaws.AmazonWebServiceResult
* The Amazon Resource Name (ARN) of the batch.
*
* The status of the batch.
*
* The simulation job batch request is pending.
*
* The simulation job batch is in progress.
*
* The simulation job batch failed. One or more simulation job requests could not be completed due to an internal
* failure (like
* The simulation batch job completed. A batch is complete when (1) there are no pending simulation job requests in
* the batch and none of the failed simulation job requests are due to
* The simulation batch job was cancelled.
*
* The simulation batch job is being cancelled.
*
* The simulation batch job is completing.
*
* The simulation job batch is timing out.
*
* If a batch timing out, and there are pending requests that were failing due to an internal failure (like
*
* The simulation batch job timed out.
*
* The time, in milliseconds since the epoch, when the simulation job batch was last updated.
*
* The time, in milliseconds since the epoch, when the simulation job batch was created.
*
* Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
*
* The batch policy.
*
* The failure code of the simulation job batch.
*
* The reason the simulation job batch failed.
*
* A list of failed create simulation job requests. The request failed to be created into a simulation job. Failed
* requests do not have a simulation job ID.
*
* A list of pending simulation job requests. These requests have not yet been created into simulation jobs.
*
* A list of created simulation job summaries.
*
* A map that contains tag keys and tag values that are attached to the simulation job batch.
*
* The Amazon Resource Name (ARN) of the batch.
*
* The Amazon Resource Name (ARN) of the batch.
*
* The Amazon Resource Name (ARN) of the batch.
*
* The status of the batch.
*
* The simulation job batch request is pending.
*
* The simulation job batch is in progress.
*
* The simulation job batch failed. One or more simulation job requests could not be completed due to an internal
* failure (like
* The simulation batch job completed. A batch is complete when (1) there are no pending simulation job requests in
* the batch and none of the failed simulation job requests are due to
* The simulation batch job was cancelled.
*
* The simulation batch job is being cancelled.
*
* The simulation batch job is completing.
*
* The simulation job batch is timing out.
*
* If a batch timing out, and there are pending requests that were failing due to an internal failure (like
*
* The simulation batch job timed out.
*
*
*/
private String status;
/**
* InternalServiceError
). See failureCode
and failureReason
for
* more information.
* InternalServiceError
and (2)
* when all created simulation jobs have reached a terminal state (for example, Completed
or
* Failed
).
* InternalServiceError
), the batch status will be Failed
. If there are no such failing
* request, the batch status will be TimedOut
.
*
*
*
* @param status
* The status of the batch.InternalServiceError
). See failureCode
and failureReason
for
* more information.
* InternalServiceError
and (2)
* when all created simulation jobs have reached a terminal state (for example, Completed
or
* Failed
).
* InternalServiceError
), the batch status will be Failed
. If there are no such failing
* request, the batch status will be TimedOut
.
*
* The simulation job batch request is pending. *
** The simulation job batch is in progress. *
*
* The simulation job batch failed. One or more simulation job requests could not be completed due to an
* internal failure (like InternalServiceError
). See failureCode
and
* failureReason
for more information.
*
* The simulation batch job completed. A batch is complete when (1) there are no pending simulation job
* requests in the batch and none of the failed simulation job requests are due to
* InternalServiceError
and (2) when all created simulation jobs have reached a terminal state
* (for example, Completed
or Failed
).
*
* The simulation batch job was cancelled. *
** The simulation batch job is being cancelled. *
** The simulation batch job is completing. *
** The simulation job batch is timing out. *
*
* If a batch timing out, and there are pending requests that were failing due to an internal failure (like
* InternalServiceError
), the batch status will be Failed
. If there are no such
* failing request, the batch status will be TimedOut
.
*
* The simulation batch job timed out. *
** The status of the batch. *
** The simulation job batch request is pending. *
** The simulation job batch is in progress. *
*
* The simulation job batch failed. One or more simulation job requests could not be completed due to an internal
* failure (like InternalServiceError
). See failureCode
and failureReason
for
* more information.
*
* The simulation batch job completed. A batch is complete when (1) there are no pending simulation job requests in
* the batch and none of the failed simulation job requests are due to InternalServiceError
and (2)
* when all created simulation jobs have reached a terminal state (for example, Completed
or
* Failed
).
*
* The simulation batch job was cancelled. *
** The simulation batch job is being cancelled. *
** The simulation batch job is completing. *
** The simulation job batch is timing out. *
*
* If a batch timing out, and there are pending requests that were failing due to an internal failure (like
* InternalServiceError
), the batch status will be Failed
. If there are no such failing
* request, the batch status will be TimedOut
.
*
* The simulation batch job timed out. *
** The simulation job batch request is pending. *
** The simulation job batch is in progress. *
*
* The simulation job batch failed. One or more simulation job requests could not be completed due to an
* internal failure (like InternalServiceError
). See failureCode
and
* failureReason
for more information.
*
* The simulation batch job completed. A batch is complete when (1) there are no pending simulation job
* requests in the batch and none of the failed simulation job requests are due to
* InternalServiceError
and (2) when all created simulation jobs have reached a terminal state
* (for example, Completed
or Failed
).
*
* The simulation batch job was cancelled. *
** The simulation batch job is being cancelled. *
** The simulation batch job is completing. *
** The simulation job batch is timing out. *
*
* If a batch timing out, and there are pending requests that were failing due to an internal failure (like
* InternalServiceError
), the batch status will be Failed
. If there are no such
* failing request, the batch status will be TimedOut
.
*
* The simulation batch job timed out. *
** The status of the batch. *
** The simulation job batch request is pending. *
** The simulation job batch is in progress. *
*
* The simulation job batch failed. One or more simulation job requests could not be completed due to an internal
* failure (like InternalServiceError
). See failureCode
and failureReason
for
* more information.
*
* The simulation batch job completed. A batch is complete when (1) there are no pending simulation job requests in
* the batch and none of the failed simulation job requests are due to InternalServiceError
and (2)
* when all created simulation jobs have reached a terminal state (for example, Completed
or
* Failed
).
*
* The simulation batch job was cancelled. *
** The simulation batch job is being cancelled. *
** The simulation batch job is completing. *
** The simulation job batch is timing out. *
*
* If a batch timing out, and there are pending requests that were failing due to an internal failure (like
* InternalServiceError
), the batch status will be Failed
. If there are no such failing
* request, the batch status will be TimedOut
.
*
* The simulation batch job timed out. *
** The simulation job batch request is pending. *
** The simulation job batch is in progress. *
*
* The simulation job batch failed. One or more simulation job requests could not be completed due to an
* internal failure (like InternalServiceError
). See failureCode
and
* failureReason
for more information.
*
* The simulation batch job completed. A batch is complete when (1) there are no pending simulation job
* requests in the batch and none of the failed simulation job requests are due to
* InternalServiceError
and (2) when all created simulation jobs have reached a terminal state
* (for example, Completed
or Failed
).
*
* The simulation batch job was cancelled. *
** The simulation batch job is being cancelled. *
** The simulation batch job is completing. *
** The simulation job batch is timing out. *
*
* If a batch timing out, and there are pending requests that were failing due to an internal failure (like
* InternalServiceError
), the batch status will be Failed
. If there are no such
* failing request, the batch status will be TimedOut
.
*
* The simulation batch job timed out. *
** The status of the batch. *
** The simulation job batch request is pending. *
** The simulation job batch is in progress. *
*
* The simulation job batch failed. One or more simulation job requests could not be completed due to an internal
* failure (like InternalServiceError
). See failureCode
and failureReason
for
* more information.
*
* The simulation batch job completed. A batch is complete when (1) there are no pending simulation job requests in
* the batch and none of the failed simulation job requests are due to InternalServiceError
and (2)
* when all created simulation jobs have reached a terminal state (for example, Completed
or
* Failed
).
*
* The simulation batch job was cancelled. *
** The simulation batch job is being cancelled. *
** The simulation batch job is completing. *
** The simulation job batch is timing out. *
*
* If a batch timing out, and there are pending requests that were failing due to an internal failure (like
* InternalServiceError
), the batch status will be Failed
. If there are no such failing
* request, the batch status will be TimedOut
.
*
* The simulation batch job timed out. *
** The simulation job batch request is pending. *
** The simulation job batch is in progress. *
*
* The simulation job batch failed. One or more simulation job requests could not be completed due to an
* internal failure (like InternalServiceError
). See failureCode
and
* failureReason
for more information.
*
* The simulation batch job completed. A batch is complete when (1) there are no pending simulation job
* requests in the batch and none of the failed simulation job requests are due to
* InternalServiceError
and (2) when all created simulation jobs have reached a terminal state
* (for example, Completed
or Failed
).
*
* The simulation batch job was cancelled. *
** The simulation batch job is being cancelled. *
** The simulation batch job is completing. *
** The simulation job batch is timing out. *
*
* If a batch timing out, and there are pending requests that were failing due to an internal failure (like
* InternalServiceError
), the batch status will be Failed
. If there are no such
* failing request, the batch status will be TimedOut
.
*
* The simulation batch job timed out. *
** The time, in milliseconds since the epoch, when the simulation job batch was last updated. *
* * @param lastUpdatedAt * The time, in milliseconds since the epoch, when the simulation job batch was last updated. */ public void setLastUpdatedAt(java.util.Date lastUpdatedAt) { this.lastUpdatedAt = lastUpdatedAt; } /** ** The time, in milliseconds since the epoch, when the simulation job batch was last updated. *
* * @return The time, in milliseconds since the epoch, when the simulation job batch was last updated. */ public java.util.Date getLastUpdatedAt() { return this.lastUpdatedAt; } /** ** The time, in milliseconds since the epoch, when the simulation job batch was last updated. *
* * @param lastUpdatedAt * The time, in milliseconds since the epoch, when the simulation job batch was last updated. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeSimulationJobBatchResult withLastUpdatedAt(java.util.Date lastUpdatedAt) { setLastUpdatedAt(lastUpdatedAt); return this; } /** ** The time, in milliseconds since the epoch, when the simulation job batch was created. *
* * @param createdAt * The time, in milliseconds since the epoch, when the simulation job batch was created. */ public void setCreatedAt(java.util.Date createdAt) { this.createdAt = createdAt; } /** ** The time, in milliseconds since the epoch, when the simulation job batch was created. *
* * @return The time, in milliseconds since the epoch, when the simulation job batch was created. */ public java.util.Date getCreatedAt() { return this.createdAt; } /** ** The time, in milliseconds since the epoch, when the simulation job batch was created. *
* * @param createdAt * The time, in milliseconds since the epoch, when the simulation job batch was created. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeSimulationJobBatchResult withCreatedAt(java.util.Date createdAt) { setCreatedAt(createdAt); return this; } /** ** 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 DescribeSimulationJobBatchResult 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 DescribeSimulationJobBatchResult withBatchPolicy(BatchPolicy batchPolicy) { setBatchPolicy(batchPolicy); return this; } /** ** The failure code of the simulation job batch. *
* * @param failureCode * The failure code of the simulation job batch. * @see SimulationJobBatchErrorCode */ public void setFailureCode(String failureCode) { this.failureCode = failureCode; } /** ** The failure code of the simulation job batch. *
* * @return The failure code of the simulation job batch. * @see SimulationJobBatchErrorCode */ public String getFailureCode() { return this.failureCode; } /** ** The failure code of the simulation job batch. *
* * @param failureCode * The failure code of the simulation job batch. * @return Returns a reference to this object so that method calls can be chained together. * @see SimulationJobBatchErrorCode */ public DescribeSimulationJobBatchResult withFailureCode(String failureCode) { setFailureCode(failureCode); return this; } /** ** The failure code of the simulation job batch. *
* * @param failureCode * The failure code of the simulation job batch. * @return Returns a reference to this object so that method calls can be chained together. * @see SimulationJobBatchErrorCode */ public DescribeSimulationJobBatchResult withFailureCode(SimulationJobBatchErrorCode failureCode) { this.failureCode = failureCode.toString(); return this; } /** ** The reason the simulation job batch failed. *
* * @param failureReason * The reason the simulation job batch failed. */ public void setFailureReason(String failureReason) { this.failureReason = failureReason; } /** ** The reason the simulation job batch failed. *
* * @return The reason the simulation job batch failed. */ public String getFailureReason() { return this.failureReason; } /** ** The reason the simulation job batch failed. *
* * @param failureReason * The reason the simulation job batch failed. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeSimulationJobBatchResult withFailureReason(String failureReason) { setFailureReason(failureReason); return this; } /** ** A list of failed create simulation job requests. The request failed to be created into a simulation job. Failed * requests do not have a simulation job ID. *
* * @return A list of failed create simulation job requests. The request failed to be created into a simulation job. * Failed requests do not have a simulation job ID. */ public java.util.List* A list of failed create simulation job requests. The request failed to be created into a simulation job. Failed * requests do not have a simulation job ID. *
* * @param failedRequests * A list of failed create simulation job requests. The request failed to be created into a simulation job. * Failed requests do not have a simulation job ID. */ public void setFailedRequests(java.util.Collection* A list of failed create simulation job requests. The request failed to be created into a simulation job. Failed * requests do not have a simulation job ID. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setFailedRequests(java.util.Collection)} or {@link #withFailedRequests(java.util.Collection)} if you want * to override the existing values. *
* * @param failedRequests * A list of failed create simulation job requests. The request failed to be created into a simulation job. * Failed requests do not have a simulation job ID. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeSimulationJobBatchResult withFailedRequests(FailedCreateSimulationJobRequest... failedRequests) { if (this.failedRequests == null) { setFailedRequests(new java.util.ArrayList* A list of failed create simulation job requests. The request failed to be created into a simulation job. Failed * requests do not have a simulation job ID. *
* * @param failedRequests * A list of failed create simulation job requests. The request failed to be created into a simulation job. * Failed requests do not have a simulation job ID. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeSimulationJobBatchResult withFailedRequests(java.util.Collection* A list of pending simulation job requests. These requests have not yet been created into simulation jobs. *
* * @return A list of pending simulation job requests. These requests have not yet been created into simulation jobs. */ public java.util.List* A list of pending simulation job requests. These requests have not yet been created into simulation jobs. *
* * @param pendingRequests * A list of pending simulation job requests. These requests have not yet been created into simulation jobs. */ public void setPendingRequests(java.util.Collection* A list of pending simulation job requests. These requests have not yet been created into simulation jobs. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setPendingRequests(java.util.Collection)} or {@link #withPendingRequests(java.util.Collection)} if you * want to override the existing values. *
* * @param pendingRequests * A list of pending simulation job requests. These requests have not yet been created into simulation jobs. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeSimulationJobBatchResult withPendingRequests(SimulationJobRequest... pendingRequests) { if (this.pendingRequests == null) { setPendingRequests(new java.util.ArrayList* A list of pending simulation job requests. These requests have not yet been created into simulation jobs. *
* * @param pendingRequests * A list of pending simulation job requests. These requests have not yet been created into simulation jobs. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeSimulationJobBatchResult withPendingRequests(java.util.Collection* A list of created simulation job summaries. *
* * @return A list of created simulation job summaries. */ public java.util.List* A list of created simulation job summaries. *
* * @param createdRequests * A list of created simulation job summaries. */ public void setCreatedRequests(java.util.Collection* A list of created simulation job summaries. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setCreatedRequests(java.util.Collection)} or {@link #withCreatedRequests(java.util.Collection)} if you * want to override the existing values. *
* * @param createdRequests * A list of created simulation job summaries. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeSimulationJobBatchResult withCreatedRequests(SimulationJobSummary... createdRequests) { if (this.createdRequests == null) { setCreatedRequests(new java.util.ArrayList* A list of created simulation job summaries. *
* * @param createdRequests * A list of created simulation job summaries. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeSimulationJobBatchResult withCreatedRequests(java.util.Collection* A map that contains tag keys and tag values that are attached to the simulation job batch. *
* * @return A map that contains tag keys and tag values that are attached to the simulation job batch. */ public java.util.Map* A map that contains tag keys and tag values that are attached to the simulation job batch. *
* * @param tags * A map that contains tag keys and tag values that are attached to the simulation job batch. */ public void setTags(java.util.Map* A map that contains tag keys and tag values that are attached to the simulation job batch. *
* * @param tags * A map that contains tag keys and tag values that are attached to the simulation job batch. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeSimulationJobBatchResult withTags(java.util.Map