public static interface GetQuantumTaskResponse.Builder extends BraketResponse.Builder, SdkPojo, CopyableBuilder<GetQuantumTaskResponse.Builder,GetQuantumTaskResponse>
| Modifier and Type | Method and Description |
|---|---|
GetQuantumTaskResponse.Builder |
createdAt(Instant createdAt)
The time at which the task was created.
|
GetQuantumTaskResponse.Builder |
deviceArn(String deviceArn)
The ARN of the device the task was run on.
|
GetQuantumTaskResponse.Builder |
deviceParameters(String deviceParameters)
The parameters for the device on which the task ran.
|
GetQuantumTaskResponse.Builder |
endedAt(Instant endedAt)
The time at which the task ended.
|
GetQuantumTaskResponse.Builder |
failureReason(String failureReason)
The reason that a task failed.
|
GetQuantumTaskResponse.Builder |
jobArn(String jobArn)
The ARN of the Amazon Braket job associated with the quantum task.
|
GetQuantumTaskResponse.Builder |
outputS3Bucket(String outputS3Bucket)
The S3 bucket where task results are stored.
|
GetQuantumTaskResponse.Builder |
outputS3Directory(String outputS3Directory)
The folder in the S3 bucket where task results are stored.
|
GetQuantumTaskResponse.Builder |
quantumTaskArn(String quantumTaskArn)
The ARN of the task.
|
default GetQuantumTaskResponse.Builder |
queueInfo(Consumer<QuantumTaskQueueInfo.Builder> queueInfo)
Queue information for the requested quantum task.
|
GetQuantumTaskResponse.Builder |
queueInfo(QuantumTaskQueueInfo queueInfo)
Queue information for the requested quantum task.
|
GetQuantumTaskResponse.Builder |
shots(Long shots)
The number of shots used in the task.
|
GetQuantumTaskResponse.Builder |
status(QuantumTaskStatus status)
The status of the task.
|
GetQuantumTaskResponse.Builder |
status(String status)
The status of the task.
|
GetQuantumTaskResponse.Builder |
tags(Map<String,String> tags)
The tags that belong to this task.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetQuantumTaskResponse.Builder createdAt(Instant createdAt)
The time at which the task was created.
createdAt - The time at which the task was created.GetQuantumTaskResponse.Builder deviceArn(String deviceArn)
The ARN of the device the task was run on.
deviceArn - The ARN of the device the task was run on.GetQuantumTaskResponse.Builder deviceParameters(String deviceParameters)
The parameters for the device on which the task ran.
deviceParameters - The parameters for the device on which the task ran.GetQuantumTaskResponse.Builder endedAt(Instant endedAt)
The time at which the task ended.
endedAt - The time at which the task ended.GetQuantumTaskResponse.Builder failureReason(String failureReason)
The reason that a task failed.
failureReason - The reason that a task failed.GetQuantumTaskResponse.Builder jobArn(String jobArn)
The ARN of the Amazon Braket job associated with the quantum task.
jobArn - The ARN of the Amazon Braket job associated with the quantum task.GetQuantumTaskResponse.Builder outputS3Bucket(String outputS3Bucket)
The S3 bucket where task results are stored.
outputS3Bucket - The S3 bucket where task results are stored.GetQuantumTaskResponse.Builder outputS3Directory(String outputS3Directory)
The folder in the S3 bucket where task results are stored.
outputS3Directory - The folder in the S3 bucket where task results are stored.GetQuantumTaskResponse.Builder quantumTaskArn(String quantumTaskArn)
The ARN of the task.
quantumTaskArn - The ARN of the task.GetQuantumTaskResponse.Builder queueInfo(QuantumTaskQueueInfo queueInfo)
Queue information for the requested quantum task. Only returned if QueueInfo is specified in the
additionalAttributeNames" field in the GetQuantumTask API request.
queueInfo - Queue information for the requested quantum task. Only returned if QueueInfo is specified
in the additionalAttributeNames" field in the GetQuantumTask API request.default GetQuantumTaskResponse.Builder queueInfo(Consumer<QuantumTaskQueueInfo.Builder> queueInfo)
Queue information for the requested quantum task. Only returned if QueueInfo is specified in the
additionalAttributeNames" field in the GetQuantumTask API request.
QuantumTaskQueueInfo.Builder avoiding
the need to create one manually via QuantumTaskQueueInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to queueInfo(QuantumTaskQueueInfo).
queueInfo - a consumer that will call methods on QuantumTaskQueueInfo.BuilderqueueInfo(QuantumTaskQueueInfo)GetQuantumTaskResponse.Builder shots(Long shots)
The number of shots used in the task.
shots - The number of shots used in the task.GetQuantumTaskResponse.Builder status(String status)
The status of the task.
status - The status of the task.QuantumTaskStatus,
QuantumTaskStatusGetQuantumTaskResponse.Builder status(QuantumTaskStatus status)
The status of the task.
status - The status of the task.QuantumTaskStatus,
QuantumTaskStatusGetQuantumTaskResponse.Builder tags(Map<String,String> tags)
The tags that belong to this task.
tags - The tags that belong to this task.Copyright © 2023. All rights reserved.