pub struct StartReferenceImportJob { /* private fields */ }
Expand description
Fluent builder constructing a request to StartReferenceImportJob
.
Starts a reference import job.
Implementations§
source§impl StartReferenceImportJob
impl StartReferenceImportJob
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StartReferenceImportJob, AwsResponseRetryClassifier>, SdkError<StartReferenceImportJobError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<StartReferenceImportJob, AwsResponseRetryClassifier>, SdkError<StartReferenceImportJobError>>
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<StartReferenceImportJobOutput, SdkError<StartReferenceImportJobError>>
pub async fn send(
self
) -> Result<StartReferenceImportJobOutput, SdkError<StartReferenceImportJobError>>
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 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 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 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 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
.
Sources for the job.
sourcepub fn set_sources(
self,
input: Option<Vec<StartReferenceImportJobSourceItem>>
) -> Self
pub fn set_sources(
self,
input: Option<Vec<StartReferenceImportJobSourceItem>>
) -> Self
Sources for the job.
Trait Implementations§
source§impl Clone for StartReferenceImportJob
impl Clone for StartReferenceImportJob
source§fn clone(&self) -> StartReferenceImportJob
fn clone(&self) -> StartReferenceImportJob
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more