Interface CreateQuantumTaskRequest.Builder

  • Method Details

    • 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 quantum task on.

      Parameters:
      deviceArn - The ARN of the device to run the quantum 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 quantum task on.

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

      The number of shots to use for the quantum task.

      Parameters:
      shots - The number of shots to use for 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 quantum task result files in.

      Parameters:
      outputS3Bucket - The S3 bucket to store quantum 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 quantum task results in.

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

      The action associated with the quantum task.

      Parameters:
      action - The action associated with the quantum 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.
    • jobToken

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

      Parameters:
      jobToken - The token for an Amazon Braket hybrid job that associates it 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

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