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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateQuantumTaskRequest.Builderaction(String action)The action associated with the task.CreateQuantumTaskRequest.Builderassociations(Collection<Association> associations)The list of Amazon Braket resources associated with the quantum task.CreateQuantumTaskRequest.Builderassociations(Consumer<Association.Builder>... associations)The list of Amazon Braket resources associated with the quantum task.CreateQuantumTaskRequest.Builderassociations(Association... associations)The list of Amazon Braket resources associated with the quantum task.CreateQuantumTaskRequest.BuilderclientToken(String clientToken)The client token associated with the request.CreateQuantumTaskRequest.BuilderdeviceArn(String deviceArn)The ARN of the device to run the task on.CreateQuantumTaskRequest.BuilderdeviceParameters(String deviceParameters)The parameters for the device to run the task on.CreateQuantumTaskRequest.BuilderjobToken(String jobToken)The token for an Amazon Braket job that associates it with the quantum task.CreateQuantumTaskRequest.BuilderoutputS3Bucket(String outputS3Bucket)The S3 bucket to store task result files in.CreateQuantumTaskRequest.BuilderoutputS3KeyPrefix(String outputS3KeyPrefix)The key prefix for the location in the S3 bucket to store task results in.CreateQuantumTaskRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateQuantumTaskRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateQuantumTaskRequest.Buildershots(Long shots)The number of shots to use for the task.CreateQuantumTaskRequest.Buildertags(Map<String,String> tags)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 Detail
-
action
CreateQuantumTaskRequest.Builder action(String 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
CreateQuantumTaskRequest.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
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
CreateQuantumTaskRequest.Builder associations(Consumer<Association.Builder>... associations)
The list of Amazon Braket resources associated with the quantum task.
This is a convenience method that creates an instance of theAssociation.Builderavoiding the need to create one manually viaAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#associations(List.) - 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:
#associations(java.util.Collection)
-
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
CreateQuantumTaskRequest.Builder deviceArn(String 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
CreateQuantumTaskRequest.Builder jobToken(String 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
CreateQuantumTaskRequest.Builder shots(Long 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
CreateQuantumTaskRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateQuantumTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-