/* * 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.braket.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Provides summary information about an Amazon Braket job. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class JobSummary implements Serializable, Cloneable, StructuredPojo { /** ** The date and time that the Amazon Braket job was created. *
*/ private java.util.Date createdAt; /** ** Provides summary information about the primary device used by an Amazon Braket job. *
*/ private String device; /** ** The date and time that the Amazon Braket job ended. *
*/ private java.util.Date endedAt; /** ** The ARN of the Amazon Braket job. *
*/ private String jobArn; /** ** The name of the Amazon Braket job. *
*/ private String jobName; /** ** The date and time that the Amazon Braket job was started. *
*/ private java.util.Date startedAt; /** ** The status of the Amazon Braket job. *
*/ private String status; /** ** A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket resources. *
*/ private java.util.Map* The date and time that the Amazon Braket job was created. *
* * @param createdAt * The date and time that the Amazon Braket job was created. */ public void setCreatedAt(java.util.Date createdAt) { this.createdAt = createdAt; } /** ** The date and time that the Amazon Braket job was created. *
* * @return The date and time that the Amazon Braket job was created. */ public java.util.Date getCreatedAt() { return this.createdAt; } /** ** The date and time that the Amazon Braket job was created. *
* * @param createdAt * The date and time that the Amazon Braket job was created. * @return Returns a reference to this object so that method calls can be chained together. */ public JobSummary withCreatedAt(java.util.Date createdAt) { setCreatedAt(createdAt); return this; } /** ** Provides summary information about the primary device used by an Amazon Braket job. *
* * @param device * Provides summary information about the primary device used by an Amazon Braket job. */ public void setDevice(String device) { this.device = device; } /** ** Provides summary information about the primary device used by an Amazon Braket job. *
* * @return Provides summary information about the primary device used by an Amazon Braket job. */ public String getDevice() { return this.device; } /** ** Provides summary information about the primary device used by an Amazon Braket job. *
* * @param device * Provides summary information about the primary device used by an Amazon Braket job. * @return Returns a reference to this object so that method calls can be chained together. */ public JobSummary withDevice(String device) { setDevice(device); return this; } /** ** The date and time that the Amazon Braket job ended. *
* * @param endedAt * The date and time that the Amazon Braket job ended. */ public void setEndedAt(java.util.Date endedAt) { this.endedAt = endedAt; } /** ** The date and time that the Amazon Braket job ended. *
* * @return The date and time that the Amazon Braket job ended. */ public java.util.Date getEndedAt() { return this.endedAt; } /** ** The date and time that the Amazon Braket job ended. *
* * @param endedAt * The date and time that the Amazon Braket job ended. * @return Returns a reference to this object so that method calls can be chained together. */ public JobSummary withEndedAt(java.util.Date endedAt) { setEndedAt(endedAt); return this; } /** ** The ARN of the Amazon Braket job. *
* * @param jobArn * The ARN of the Amazon Braket job. */ public void setJobArn(String jobArn) { this.jobArn = jobArn; } /** ** The ARN of the Amazon Braket job. *
* * @return The ARN of the Amazon Braket job. */ public String getJobArn() { return this.jobArn; } /** ** The ARN of the Amazon Braket job. *
* * @param jobArn * The ARN of the Amazon Braket job. * @return Returns a reference to this object so that method calls can be chained together. */ public JobSummary withJobArn(String jobArn) { setJobArn(jobArn); return this; } /** ** The name of the Amazon Braket job. *
* * @param jobName * The name of the Amazon Braket job. */ public void setJobName(String jobName) { this.jobName = jobName; } /** ** The name of the Amazon Braket job. *
* * @return The name of the Amazon Braket job. */ public String getJobName() { return this.jobName; } /** ** The name of the Amazon Braket job. *
* * @param jobName * The name of the Amazon Braket job. * @return Returns a reference to this object so that method calls can be chained together. */ public JobSummary withJobName(String jobName) { setJobName(jobName); return this; } /** ** The date and time that the Amazon Braket job was started. *
* * @param startedAt * The date and time that the Amazon Braket job was started. */ public void setStartedAt(java.util.Date startedAt) { this.startedAt = startedAt; } /** ** The date and time that the Amazon Braket job was started. *
* * @return The date and time that the Amazon Braket job was started. */ public java.util.Date getStartedAt() { return this.startedAt; } /** ** The date and time that the Amazon Braket job was started. *
* * @param startedAt * The date and time that the Amazon Braket job was started. * @return Returns a reference to this object so that method calls can be chained together. */ public JobSummary withStartedAt(java.util.Date startedAt) { setStartedAt(startedAt); return this; } /** ** The status of the Amazon Braket job. *
* * @param status * The status of the Amazon Braket job. * @see JobPrimaryStatus */ public void setStatus(String status) { this.status = status; } /** ** The status of the Amazon Braket job. *
* * @return The status of the Amazon Braket job. * @see JobPrimaryStatus */ public String getStatus() { return this.status; } /** ** The status of the Amazon Braket job. *
* * @param status * The status of the Amazon Braket job. * @return Returns a reference to this object so that method calls can be chained together. * @see JobPrimaryStatus */ public JobSummary withStatus(String status) { setStatus(status); return this; } /** ** The status of the Amazon Braket job. *
* * @param status * The status of the Amazon Braket job. * @return Returns a reference to this object so that method calls can be chained together. * @see JobPrimaryStatus */ public JobSummary withStatus(JobPrimaryStatus status) { this.status = status.toString(); return this; } /** ** A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket resources. *
* * @return A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket * resources. */ public java.util.Map* A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket resources. *
* * @param tags * A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket * resources. */ public void setTags(java.util.Map* A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket resources. *
* * @param tags * A tag object that consists of a key and an optional value, used to manage metadata for Amazon Braket * resources. * @return Returns a reference to this object so that method calls can be chained together. */ public JobSummary withTags(java.util.Map