Interface GetQuantumTaskResponse.Builder

    • Method Detail

      • associations

        GetQuantumTaskResponse.Builder associations​(Collection<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

        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.
      • createdAt

        GetQuantumTaskResponse.Builder createdAt​(Instant 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

        GetQuantumTaskResponse.Builder endedAt​(Instant 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

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

        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.

        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.
      • shots

        GetQuantumTaskResponse.Builder shots​(Long 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.
      • tags

        GetQuantumTaskResponse.Builder tags​(Map<String,​String> 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.