pub struct Builder { /* private fields */ }
Expand description
A builder for StartReferenceImportJobInput
.
Implementations§
source§impl Builder
impl Builder
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.
sourcepub fn build(self) -> Result<StartReferenceImportJobInput, BuildError>
pub fn build(self) -> Result<StartReferenceImportJobInput, BuildError>
Consumes the builder and constructs a StartReferenceImportJobInput
.