Interface GetQuantumTaskResponse.Builder

All Superinterfaces:
AwsResponse.Builder, BraketResponse.Builder, Buildable, CopyableBuilder<GetQuantumTaskResponse.Builder,GetQuantumTaskResponse>, SdkBuilder<GetQuantumTaskResponse.Builder,GetQuantumTaskResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetQuantumTaskResponse

public static interface GetQuantumTaskResponse.Builder extends BraketResponse.Builder, SdkPojo, CopyableBuilder<GetQuantumTaskResponse.Builder,GetQuantumTaskResponse>
  • 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

      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:
    • 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

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

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

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

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

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

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