Interface CreateQuantumTaskRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BraketRequest.Builder
,Buildable
,CopyableBuilder<CreateQuantumTaskRequest.Builder,
,CreateQuantumTaskRequest> SdkBuilder<CreateQuantumTaskRequest.Builder,
,CreateQuantumTaskRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateQuantumTaskRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe action associated with the task.associations
(Collection<Association> associations) The list of Amazon Braket resources associated with the quantum task.associations
(Consumer<Association.Builder>... associations) The list of Amazon Braket resources associated with the quantum task.associations
(Association... associations) The list of Amazon Braket resources associated with the quantum task.clientToken
(String clientToken) The client token associated with the request.The ARN of the device to run the task on.deviceParameters
(String deviceParameters) The parameters for the device to run the task on.The token for an Amazon Braket job that associates it with the quantum task.outputS3Bucket
(String outputS3Bucket) The S3 bucket to store task result files in.outputS3KeyPrefix
(String outputS3KeyPrefix) The key prefix for the location in the S3 bucket to store task results in.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The number of shots to use for the task.Tags to be added to the quantum task you're creating.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.braket.model.BraketRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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 theAssociation.Builder
avoiding the need to create one manually viaAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociations(List<Association>)
.- Parameters:
associations
- a consumer that will call methods onAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateQuantumTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-