Interface GetQuantumTaskResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BraketResponse.Builder,Buildable,CopyableBuilder<GetQuantumTaskResponse.Builder,,GetQuantumTaskResponse> SdkBuilder<GetQuantumTaskResponse.Builder,,GetQuantumTaskResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetQuantumTaskResponse
-
Method Summary
Modifier and TypeMethodDescriptionassociations(Collection<Association> associations) The list of Amazon Braket resources associated with the quantum task.associations(Consumer<Association.Builder>... associations) The list of Amazon Braket resources associated with the quantum task.associations(Association... associations) The list of Amazon Braket resources associated with the quantum task.The time at which the task was created.The ARN of the device the task was run on.deviceParameters(String deviceParameters) The parameters for the device on which the task ran.The time at which the task ended.failureReason(String failureReason) The reason that a task failed.The ARN of the Amazon Braket job associated with the quantum task.outputS3Bucket(String outputS3Bucket) The S3 bucket where task results are stored.outputS3Directory(String outputS3Directory) The folder in the S3 bucket where task results are stored.quantumTaskArn(String quantumTaskArn) The ARN of the task.default GetQuantumTaskResponse.BuilderqueueInfo(Consumer<QuantumTaskQueueInfo.Builder> queueInfo) Queue information for the requested quantum task.queueInfo(QuantumTaskQueueInfo queueInfo) Queue information for the requested quantum task.The number of shots used in the task.The status of the task.status(QuantumTaskStatus status) The status of the task.The tags that belong to this task.Methods inherited from interface software.amazon.awssdk.services.braket.model.BraketResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
associations
The list of Amazon Braket resources associated with the quantum task.
- Parameters:
associations- The list of Amazon Braket resources associated with the quantum task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
The list of Amazon Braket resources associated with the quantum task.
- Parameters:
associations- The list of Amazon Braket resources associated with the quantum task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
The list of Amazon Braket resources associated with the quantum task.
This is a convenience method that creates an instance of theAssociation.Builderavoiding the need to create one manually viaAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociations(List<Association>).- Parameters:
associations- a consumer that will call methods onAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time at which the task was created.
- Parameters:
createdAt- The time at which the task was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceArn
The ARN of the device the task was run on.
- Parameters:
deviceArn- The ARN of the device the task was run on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceParameters
The parameters for the device on which the task ran.
- Parameters:
deviceParameters- The parameters for the device on which the task ran.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endedAt
The time at which the task ended.
- Parameters:
endedAt- The time at which the task ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
The reason that a task failed.
- Parameters:
failureReason- The reason that a task failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobArn
The ARN of the Amazon Braket job associated with the quantum task.
- Parameters:
jobArn- The ARN of the Amazon Braket job associated with the quantum task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputS3Bucket
The S3 bucket where task results are stored.
- Parameters:
outputS3Bucket- The S3 bucket where task results are stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputS3Directory
The folder in the S3 bucket where task results are stored.
- Parameters:
outputS3Directory- The folder in the S3 bucket where task results are stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantumTaskArn
The ARN of the task.
- Parameters:
quantumTaskArn- The ARN of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueInfo
Queue information for the requested quantum task. Only returned if
QueueInfois specified in theadditionalAttributeNames"field in theGetQuantumTaskAPI request.- Parameters:
queueInfo- Queue information for the requested quantum task. Only returned ifQueueInfois specified in theadditionalAttributeNames"field in theGetQuantumTaskAPI request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueInfo
Queue information for the requested quantum task. Only returned if
This is a convenience method that creates an instance of theQueueInfois specified in theadditionalAttributeNames"field in theGetQuantumTaskAPI request.QuantumTaskQueueInfo.Builderavoiding the need to create one manually viaQuantumTaskQueueInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toqueueInfo(QuantumTaskQueueInfo).- Parameters:
queueInfo- a consumer that will call methods onQuantumTaskQueueInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
shots
The number of shots used in the task.
- Parameters:
shots- The number of shots used in the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the task.
- Parameters:
status- The status of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the task.
- Parameters:
status- The status of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags that belong to this task.
- Parameters:
tags- The tags that belong to this task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-