* The time at which the task was created. *
*/ private java.util.Date createdAt; /** ** The ARN of the device the task was run on. *
*/ private String deviceArn; /** ** The parameters for the device on which the task ran. *
*/ private String deviceParameters; /** ** The time at which the task ended. *
*/ private java.util.Date endedAt; /** ** The reason that a task failed. *
*/ private String failureReason; /** ** The ARN of the Amazon Braket job associated with the quantum task. *
*/ private String jobArn; /** ** The S3 bucket where task results are stored. *
*/ private String outputS3Bucket; /** ** The folder in the S3 bucket where task results are stored. *
*/ private String outputS3Directory; /** ** The ARN of the task. *
*/ private String quantumTaskArn; /** ** The number of shots used in the task. *
*/ private Long shots; /** ** The status of the task. *
*/ private String status; /** ** The tags that belong to this task. *
*/ private java.util.Map* The time at which the task was created. *
* * @param createdAt * The time at which the task was created. */ public void setCreatedAt(java.util.Date createdAt) { this.createdAt = createdAt; } /** ** The time at which the task was created. *
* * @return The time at which the task was created. */ public java.util.Date getCreatedAt() { return this.createdAt; } /** ** The time at which the task was created. *
* * @param createdAt * The time at which the task was created. * @return Returns a reference to this object so that method calls can be chained together. */ public GetQuantumTaskResult withCreatedAt(java.util.Date createdAt) { setCreatedAt(createdAt); return this; } /** ** The ARN of the device the task was run on. *
* * @param deviceArn * The ARN of the device the task was run on. */ public void setDeviceArn(String deviceArn) { this.deviceArn = deviceArn; } /** ** The ARN of the device the task was run on. *
* * @return The ARN of the device the task was run on. */ public String getDeviceArn() { return this.deviceArn; } /** ** The ARN of the device the task was run on. *
* * @param deviceArn * The ARN of the device the task was run on. * @return Returns a reference to this object so that method calls can be chained together. */ public GetQuantumTaskResult withDeviceArn(String deviceArn) { setDeviceArn(deviceArn); return this; } /** ** The parameters for the device on which the task ran. *
** This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For * example: '{"key": "value"}'. *
** The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. * Users of the SDK should not perform Base64 encoding on this field. *
* * @param deviceParameters * The parameters for the device on which the task ran. */ public void setDeviceParameters(String deviceParameters) { this.deviceParameters = deviceParameters; } /** ** The parameters for the device on which the task ran. *
** This field's value will be valid JSON according to RFC 7159, including the opening and closing braces. For * example: '{"key": "value"}'. *
* * @return The parameters for the device on which the task ran. */ public String getDeviceParameters() { return this.deviceParameters; } /** ** The parameters for the device on which the task ran. *
** This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For * example: '{"key": "value"}'. *
** The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. * Users of the SDK should not perform Base64 encoding on this field. *
* * @param deviceParameters * The parameters for the device on which the task ran. * @return Returns a reference to this object so that method calls can be chained together. */ public GetQuantumTaskResult withDeviceParameters(String deviceParameters) { setDeviceParameters(deviceParameters); return this; } /** ** The time at which the task ended. *
* * @param endedAt * The time at which the task ended. */ public void setEndedAt(java.util.Date endedAt) { this.endedAt = endedAt; } /** ** The time at which the task ended. *
* * @return The time at which the task ended. */ public java.util.Date getEndedAt() { return this.endedAt; } /** ** The time at which the task ended. *
* * @param endedAt * The time at which the task ended. * @return Returns a reference to this object so that method calls can be chained together. */ public GetQuantumTaskResult withEndedAt(java.util.Date endedAt) { setEndedAt(endedAt); return this; } /** ** The reason that a task failed. *
* * @param failureReason * The reason that a task failed. */ public void setFailureReason(String failureReason) { this.failureReason = failureReason; } /** ** The reason that a task failed. *
* * @return The reason that a task failed. */ public String getFailureReason() { return this.failureReason; } /** ** The reason that a task failed. *
* * @param failureReason * The reason that a task failed. * @return Returns a reference to this object so that method calls can be chained together. */ public GetQuantumTaskResult withFailureReason(String failureReason) { setFailureReason(failureReason); return this; } /** ** The ARN of the Amazon Braket job associated with the quantum task. *
* * @param jobArn * The ARN of the Amazon Braket job associated with the quantum task. */ public void setJobArn(String jobArn) { this.jobArn = jobArn; } /** ** The ARN of the Amazon Braket job associated with the quantum task. *
* * @return The ARN of the Amazon Braket job associated with the quantum task. */ public String getJobArn() { return this.jobArn; } /** ** The ARN of the Amazon Braket job associated with the quantum task. *
* * @param jobArn * The ARN of the Amazon Braket job associated with the quantum task. * @return Returns a reference to this object so that method calls can be chained together. */ public GetQuantumTaskResult withJobArn(String jobArn) { setJobArn(jobArn); return this; } /** ** The S3 bucket where task results are stored. *
* * @param outputS3Bucket * The S3 bucket where task results are stored. */ public void setOutputS3Bucket(String outputS3Bucket) { this.outputS3Bucket = outputS3Bucket; } /** ** The S3 bucket where task results are stored. *
* * @return The S3 bucket where task results are stored. */ public String getOutputS3Bucket() { return this.outputS3Bucket; } /** ** The S3 bucket where task results are stored. *
* * @param outputS3Bucket * The S3 bucket where task results are stored. * @return Returns a reference to this object so that method calls can be chained together. */ public GetQuantumTaskResult withOutputS3Bucket(String outputS3Bucket) { setOutputS3Bucket(outputS3Bucket); return this; } /** ** The folder in the S3 bucket where task results are stored. *
* * @param outputS3Directory * The folder in the S3 bucket where task results are stored. */ public void setOutputS3Directory(String outputS3Directory) { this.outputS3Directory = outputS3Directory; } /** ** The folder in the S3 bucket where task results are stored. *
* * @return The folder in the S3 bucket where task results are stored. */ public String getOutputS3Directory() { return this.outputS3Directory; } /** ** The folder in the S3 bucket where task results are stored. *
* * @param outputS3Directory * The folder in the S3 bucket where task results are stored. * @return Returns a reference to this object so that method calls can be chained together. */ public GetQuantumTaskResult withOutputS3Directory(String outputS3Directory) { setOutputS3Directory(outputS3Directory); return this; } /** ** The ARN of the task. *
* * @param quantumTaskArn * The ARN of the task. */ public void setQuantumTaskArn(String quantumTaskArn) { this.quantumTaskArn = quantumTaskArn; } /** ** The ARN of the task. *
* * @return The ARN of the task. */ public String getQuantumTaskArn() { return this.quantumTaskArn; } /** ** The ARN of the task. *
* * @param quantumTaskArn * The ARN of the task. * @return Returns a reference to this object so that method calls can be chained together. */ public GetQuantumTaskResult withQuantumTaskArn(String quantumTaskArn) { setQuantumTaskArn(quantumTaskArn); return this; } /** ** The number of shots used in the task. *
* * @param shots * The number of shots used in the task. */ public void setShots(Long shots) { this.shots = shots; } /** ** The number of shots used in the task. *
* * @return The number of shots used in the task. */ public Long getShots() { return this.shots; } /** ** The number of shots used in the task. *
* * @param shots * The number of shots used in the task. * @return Returns a reference to this object so that method calls can be chained together. */ public GetQuantumTaskResult withShots(Long shots) { setShots(shots); return this; } /** ** The status of the task. *
* * @param status * The status of the task. * @see QuantumTaskStatus */ public void setStatus(String status) { this.status = status; } /** ** The status of the task. *
* * @return The status of the task. * @see QuantumTaskStatus */ public String getStatus() { return this.status; } /** ** The status of the task. *
* * @param status * The status of the task. * @return Returns a reference to this object so that method calls can be chained together. * @see QuantumTaskStatus */ public GetQuantumTaskResult withStatus(String status) { setStatus(status); return this; } /** ** The status of the task. *
* * @param status * The status of the task. * @return Returns a reference to this object so that method calls can be chained together. * @see QuantumTaskStatus */ public GetQuantumTaskResult withStatus(QuantumTaskStatus status) { this.status = status.toString(); return this; } /** ** The tags that belong to this task. *
* * @return The tags that belong to this task. */ public java.util.Map* The tags that belong to this task. *
* * @param tags * The tags that belong to this task. */ public void setTags(java.util.Map* The tags that belong to this task. *
* * @param tags * The tags that belong to this task. * @return Returns a reference to this object so that method calls can be chained together. */ public GetQuantumTaskResult withTags(java.util.Map