Struct aws_sdk_omics::operation::start_reference_import_job::builders::StartReferenceImportJobFluentBuilder
source · pub struct StartReferenceImportJobFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StartReferenceImportJob
.
Starts a reference import job.
Implementations§
source§impl StartReferenceImportJobFluentBuilder
impl StartReferenceImportJobFluentBuilder
sourcepub fn as_input(&self) -> &StartReferenceImportJobInputBuilder
pub fn as_input(&self) -> &StartReferenceImportJobInputBuilder
Access the StartReferenceImportJob as a reference.
sourcepub async fn send(
self
) -> Result<StartReferenceImportJobOutput, SdkError<StartReferenceImportJobError, HttpResponse>>
pub async fn send( self ) -> Result<StartReferenceImportJobOutput, SdkError<StartReferenceImportJobError, 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<StartReferenceImportJobOutput, StartReferenceImportJobError, Self>
pub fn customize( self ) -> CustomizableOperation<StartReferenceImportJobOutput, StartReferenceImportJobError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn reference_store_id(self, input: impl Into<String>) -> Self
pub fn reference_store_id(self, input: impl Into<String>) -> Self
The job's reference store ID.
sourcepub fn set_reference_store_id(self, input: Option<String>) -> Self
pub fn set_reference_store_id(self, input: Option<String>) -> Self
The job's reference store ID.
sourcepub fn get_reference_store_id(&self) -> &Option<String>
pub fn get_reference_store_id(&self) -> &Option<String>
The job's reference store ID.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
A service role for the job.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
A service role for the job.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
To ensure that jobs don't run multiple times, specify a unique token for each job.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
To ensure that jobs don't run multiple times, specify a unique token for each job.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
To ensure that jobs don't run multiple times, specify a unique token for each job.
sourcepub fn sources(self, input: StartReferenceImportJobSourceItem) -> Self
pub fn sources(self, input: StartReferenceImportJobSourceItem) -> Self
Appends an item to sources
.
To override the contents of this collection use set_sources
.
The job's source files.
sourcepub fn set_sources(
self,
input: Option<Vec<StartReferenceImportJobSourceItem>>
) -> Self
pub fn set_sources( self, input: Option<Vec<StartReferenceImportJobSourceItem>> ) -> Self
The job's source files.
sourcepub fn get_sources(&self) -> &Option<Vec<StartReferenceImportJobSourceItem>>
pub fn get_sources(&self) -> &Option<Vec<StartReferenceImportJobSourceItem>>
The job's source files.
Trait Implementations§
source§impl Clone for StartReferenceImportJobFluentBuilder
impl Clone for StartReferenceImportJobFluentBuilder
source§fn clone(&self) -> StartReferenceImportJobFluentBuilder
fn clone(&self) -> StartReferenceImportJobFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more