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 TypeMethodDescriptiondefault GetQuantumTaskResponse.Builder
actionMetadata
(Consumer<ActionMetadata.Builder> actionMetadata) Metadata about the action performed by the quantum task, including information about the type of action and program counts.actionMetadata
(ActionMetadata actionMetadata) Metadata about the action performed by the quantum task, including information about the type of action and program counts.associations
(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 quantum task was created.The ARN of the device the quantum task was run on.deviceParameters
(String deviceParameters) The parameters for the device on which the quantum task ran.The time at which the quantum task ended.failureReason
(String failureReason) The reason that a quantum task failed.The ARN of the Amazon Braket job associated with the quantum task.numSuccessfulShots
(Long numSuccessfulShots) The number of successful shots for the quantum task.outputS3Bucket
(String outputS3Bucket) The S3 bucket where quantum task results are stored.outputS3Directory
(String outputS3Directory) The folder in the S3 bucket where quantum task results are stored.quantumTaskArn
(String quantumTaskArn) The ARN of the quantum task.default GetQuantumTaskResponse.Builder
queueInfo
(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 quantum task.The status of the quantum task.status
(QuantumTaskStatus status) The status of the quantum task.The tags that belong to this quantum task.Methods inherited from interface software.amazon.awssdk.services.braket.model.BraketResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
quantumTaskArn
The ARN of the quantum task.
- Parameters:
quantumTaskArn
- The ARN of the quantum task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the quantum task.
- Parameters:
status
- The status of the quantum task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the quantum task.
- Parameters:
status
- The status of the quantum task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
The reason that a quantum task failed.
- Parameters:
failureReason
- The reason that a quantum task failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceArn
The ARN of the device the quantum task was run on.
- Parameters:
deviceArn
- The ARN of the device the quantum 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 quantum task ran.
- Parameters:
deviceParameters
- The parameters for the device on which the quantum task ran.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shots
The number of shots used in the quantum task.
- Parameters:
shots
- The number of shots used in the quantum task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputS3Bucket
The S3 bucket where quantum task results are stored.
- Parameters:
outputS3Bucket
- The S3 bucket where quantum 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 quantum task results are stored.
- Parameters:
outputS3Directory
- The folder in the S3 bucket where quantum task results are stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The time at which the quantum task was created.
- Parameters:
createdAt
- The time at which the quantum task was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endedAt
The time at which the quantum task ended.
- Parameters:
endedAt
- The time at which the quantum task ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags that belong to this quantum task.
- Parameters:
tags
- The tags that belong to this quantum task.- 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.
-
queueInfo
Queue information for the requested quantum task. Only returned if
QueueInfo
is specified in theadditionalAttributeNames"
field in theGetQuantumTask
API request.- Parameters:
queueInfo
- Queue information for the requested quantum task. Only returned ifQueueInfo
is specified in theadditionalAttributeNames"
field in theGetQuantumTask
API 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 theQueueInfo
is specified in theadditionalAttributeNames"
field in theGetQuantumTask
API request.QuantumTaskQueueInfo.Builder
avoiding the need to create one manually viaQuantumTaskQueueInfo.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaAssociation.builder()
.When the
Consumer
completes,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:
-
numSuccessfulShots
The number of successful shots for the quantum task. This is available after a successfully completed quantum task.
- Parameters:
numSuccessfulShots
- The number of successful shots for the quantum task. This is available after a successfully completed quantum task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionMetadata
Metadata about the action performed by the quantum task, including information about the type of action and program counts.
- Parameters:
actionMetadata
- Metadata about the action performed by the quantum task, including information about the type of action and program counts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionMetadata
default GetQuantumTaskResponse.Builder actionMetadata(Consumer<ActionMetadata.Builder> actionMetadata) Metadata about the action performed by the quantum task, including information about the type of action and program counts.
This is a convenience method that creates an instance of theActionMetadata.Builder
avoiding the need to create one manually viaActionMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactionMetadata(ActionMetadata)
.- Parameters:
actionMetadata
- a consumer that will call methods onActionMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-