Interface GetQuantumTaskResponse.Builder

  • Method Details

    • quantumTaskArn

      GetQuantumTaskResponse.Builder quantumTaskArn(String 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

      GetQuantumTaskResponse.Builder failureReason(String 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

      GetQuantumTaskResponse.Builder deviceArn(String 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

      GetQuantumTaskResponse.Builder deviceParameters(String 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

      GetQuantumTaskResponse.Builder outputS3Bucket(String 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

      GetQuantumTaskResponse.Builder outputS3Directory(String 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 the additionalAttributeNames" field in the GetQuantumTask API request.

      Parameters:
      queueInfo - Queue information for the requested quantum task. Only returned if QueueInfo is specified in the additionalAttributeNames" field in the GetQuantumTask 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 QueueInfo is specified in the additionalAttributeNames" field in the GetQuantumTask API request.

      This is a convenience method that creates an instance of the 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).

      Parameters:
      queueInfo - a consumer that will call methods on QuantumTaskQueueInfo.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

      GetQuantumTaskResponse.Builder associations(Association... 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 the Association.Builder avoiding the need to create one manually via Association.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to associations(List<Association>).

      Parameters:
      associations - a consumer that will call methods on Association.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • numSuccessfulShots

      GetQuantumTaskResponse.Builder numSuccessfulShots(Long 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

      GetQuantumTaskResponse.Builder actionMetadata(ActionMetadata 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 the ActionMetadata.Builder avoiding the need to create one manually via ActionMetadata.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to actionMetadata(ActionMetadata).

      Parameters:
      actionMetadata - a consumer that will call methods on ActionMetadata.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: