pub struct StartAnnotationImportJob { /* private fields */ }
Expand description
Fluent builder constructing a request to StartAnnotationImportJob
.
Starts an annotation import job.
Implementations§
source§impl StartAnnotationImportJob
impl StartAnnotationImportJob
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StartAnnotationImportJob, AwsResponseRetryClassifier>, SdkError<StartAnnotationImportJobError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<StartAnnotationImportJob, AwsResponseRetryClassifier>, SdkError<StartAnnotationImportJobError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<StartAnnotationImportJobOutput, SdkError<StartAnnotationImportJobError>>
pub async fn send(
self
) -> Result<StartAnnotationImportJobOutput, SdkError<StartAnnotationImportJobError>>
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 destination_name(self, input: impl Into<String>) -> Self
pub fn destination_name(self, input: impl Into<String>) -> Self
A destination annotation store for the job.
sourcepub fn set_destination_name(self, input: Option<String>) -> Self
pub fn set_destination_name(self, input: Option<String>) -> Self
A destination annotation store for the job.
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 items(self, input: AnnotationImportItemSource) -> Self
pub fn items(self, input: AnnotationImportItemSource) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
Items to import.
sourcepub fn set_items(self, input: Option<Vec<AnnotationImportItemSource>>) -> Self
pub fn set_items(self, input: Option<Vec<AnnotationImportItemSource>>) -> Self
Items to import.
sourcepub fn format_options(self, input: FormatOptions) -> Self
pub fn format_options(self, input: FormatOptions) -> Self
Formatting options for the annotation file.
sourcepub fn set_format_options(self, input: Option<FormatOptions>) -> Self
pub fn set_format_options(self, input: Option<FormatOptions>) -> Self
Formatting options for the annotation file.
sourcepub fn run_left_normalization(self, input: bool) -> Self
pub fn run_left_normalization(self, input: bool) -> Self
The job's left normalization setting.
sourcepub fn set_run_left_normalization(self, input: Option<bool>) -> Self
pub fn set_run_left_normalization(self, input: Option<bool>) -> Self
The job's left normalization setting.
Trait Implementations§
source§impl Clone for StartAnnotationImportJob
impl Clone for StartAnnotationImportJob
source§fn clone(&self) -> StartAnnotationImportJob
fn clone(&self) -> StartAnnotationImportJob
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more