Struct aws_sdk_braket::operation::create_quantum_task::builders::CreateQuantumTaskFluentBuilder
source · pub struct CreateQuantumTaskFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateQuantumTask
.
Creates a quantum task.
Implementations§
source§impl CreateQuantumTaskFluentBuilder
impl CreateQuantumTaskFluentBuilder
sourcepub fn as_input(&self) -> &CreateQuantumTaskInputBuilder
pub fn as_input(&self) -> &CreateQuantumTaskInputBuilder
Access the CreateQuantumTask as a reference.
sourcepub async fn send(
self
) -> Result<CreateQuantumTaskOutput, SdkError<CreateQuantumTaskError, HttpResponse>>
pub async fn send( self ) -> Result<CreateQuantumTaskOutput, SdkError<CreateQuantumTaskError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateQuantumTaskOutput, CreateQuantumTaskError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateQuantumTaskOutput, CreateQuantumTaskError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The client token associated with the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The client token associated with the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The client token associated with the request.
sourcepub fn device_arn(self, input: impl Into<String>) -> Self
pub fn device_arn(self, input: impl Into<String>) -> Self
The ARN of the device to run the task on.
sourcepub fn set_device_arn(self, input: Option<String>) -> Self
pub fn set_device_arn(self, input: Option<String>) -> Self
The ARN of the device to run the task on.
sourcepub fn get_device_arn(&self) -> &Option<String>
pub fn get_device_arn(&self) -> &Option<String>
The ARN of the device to run the task on.
sourcepub fn device_parameters(self, input: impl Into<String>) -> Self
pub fn device_parameters(self, input: impl Into<String>) -> Self
The parameters for the device to run the task on.
sourcepub fn set_device_parameters(self, input: Option<String>) -> Self
pub fn set_device_parameters(self, input: Option<String>) -> Self
The parameters for the device to run the task on.
sourcepub fn get_device_parameters(&self) -> &Option<String>
pub fn get_device_parameters(&self) -> &Option<String>
The parameters for the device to run the task on.
sourcepub fn output_s3_bucket(self, input: impl Into<String>) -> Self
pub fn output_s3_bucket(self, input: impl Into<String>) -> Self
The S3 bucket to store task result files in.
sourcepub fn set_output_s3_bucket(self, input: Option<String>) -> Self
pub fn set_output_s3_bucket(self, input: Option<String>) -> Self
The S3 bucket to store task result files in.
sourcepub fn get_output_s3_bucket(&self) -> &Option<String>
pub fn get_output_s3_bucket(&self) -> &Option<String>
The S3 bucket to store task result files in.
sourcepub fn output_s3_key_prefix(self, input: impl Into<String>) -> Self
pub fn output_s3_key_prefix(self, input: impl Into<String>) -> Self
The key prefix for the location in the S3 bucket to store task results in.
sourcepub fn set_output_s3_key_prefix(self, input: Option<String>) -> Self
pub fn set_output_s3_key_prefix(self, input: Option<String>) -> Self
The key prefix for the location in the S3 bucket to store task results in.
sourcepub fn get_output_s3_key_prefix(&self) -> &Option<String>
pub fn get_output_s3_key_prefix(&self) -> &Option<String>
The key prefix for the location in the S3 bucket to store task results in.
sourcepub fn set_action(self, input: Option<String>) -> Self
pub fn set_action(self, input: Option<String>) -> Self
The action associated with the task.
sourcepub fn get_action(&self) -> &Option<String>
pub fn get_action(&self) -> &Option<String>
The action associated with the task.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Tags to be added to the quantum task you're creating.
Tags to be added to the quantum task you're creating.
Tags to be added to the quantum task you're creating.
sourcepub fn job_token(self, input: impl Into<String>) -> Self
pub fn job_token(self, input: impl Into<String>) -> Self
The token for an Amazon Braket job that associates it with the quantum task.
sourcepub fn set_job_token(self, input: Option<String>) -> Self
pub fn set_job_token(self, input: Option<String>) -> Self
The token for an Amazon Braket job that associates it with the quantum task.
sourcepub fn get_job_token(&self) -> &Option<String>
pub fn get_job_token(&self) -> &Option<String>
The token for an Amazon Braket job that associates it with the quantum task.
Trait Implementations§
source§impl Clone for CreateQuantumTaskFluentBuilder
impl Clone for CreateQuantumTaskFluentBuilder
source§fn clone(&self) -> CreateQuantumTaskFluentBuilder
fn clone(&self) -> CreateQuantumTaskFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more