Interface CreateQuantumTaskRequest.Builder

All Superinterfaces:
AwsRequest.Builder, BraketRequest.Builder, Buildable, CopyableBuilder<CreateQuantumTaskRequest.Builder,CreateQuantumTaskRequest>, SdkBuilder<CreateQuantumTaskRequest.Builder,CreateQuantumTaskRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateQuantumTaskRequest

public static interface CreateQuantumTaskRequest.Builder extends BraketRequest.Builder, SdkPojo, CopyableBuilder<CreateQuantumTaskRequest.Builder,CreateQuantumTaskRequest>
  • Method Details

    • action

      The action associated with the task.

      Parameters:
      action - The action associated with the 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

      CreateQuantumTaskRequest.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:
    • clientToken

      CreateQuantumTaskRequest.Builder clientToken(String clientToken)

      The client token associated with the request.

      Parameters:
      clientToken - The client token associated with the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deviceArn

      The ARN of the device to run the task on.

      Parameters:
      deviceArn - The ARN of the device to run the task on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deviceParameters

      CreateQuantumTaskRequest.Builder deviceParameters(String deviceParameters)

      The parameters for the device to run the task on.

      Parameters:
      deviceParameters - The parameters for the device to run the task on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobToken

      The token for an Amazon Braket job that associates it with the quantum task.

      Parameters:
      jobToken - The token for an Amazon Braket job that associates it with the quantum task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputS3Bucket

      CreateQuantumTaskRequest.Builder outputS3Bucket(String outputS3Bucket)

      The S3 bucket to store task result files in.

      Parameters:
      outputS3Bucket - The S3 bucket to store task result files in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputS3KeyPrefix

      CreateQuantumTaskRequest.Builder outputS3KeyPrefix(String outputS3KeyPrefix)

      The key prefix for the location in the S3 bucket to store task results in.

      Parameters:
      outputS3KeyPrefix - The key prefix for the location in the S3 bucket to store task results in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • shots

      The number of shots to use for the task.

      Parameters:
      shots - The number of shots to use for the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Tags to be added to the quantum task you're creating.

      Parameters:
      tags - Tags to be added to the quantum task you're creating.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateQuantumTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.