Struct aws_sdk_omics::operation::start_reference_import_job::builders::StartReferenceImportJobInputBuilder
source · #[non_exhaustive]pub struct StartReferenceImportJobInputBuilder { /* private fields */ }
Expand description
A builder for StartReferenceImportJobInput
.
Implementations§
source§impl StartReferenceImportJobInputBuilder
impl StartReferenceImportJobInputBuilder
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.
This field is required.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 role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
A service role for the job.
This field is required.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.
sourcepub fn build(self) -> Result<StartReferenceImportJobInput, BuildError>
pub fn build(self) -> Result<StartReferenceImportJobInput, BuildError>
Consumes the builder and constructs a StartReferenceImportJobInput
.
source§impl StartReferenceImportJobInputBuilder
impl StartReferenceImportJobInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<StartReferenceImportJobOutput, SdkError<StartReferenceImportJobError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<StartReferenceImportJobOutput, SdkError<StartReferenceImportJobError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartReferenceImportJobInputBuilder
impl Clone for StartReferenceImportJobInputBuilder
source§fn clone(&self) -> StartReferenceImportJobInputBuilder
fn clone(&self) -> StartReferenceImportJobInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for StartReferenceImportJobInputBuilder
impl Default for StartReferenceImportJobInputBuilder
source§fn default() -> StartReferenceImportJobInputBuilder
fn default() -> StartReferenceImportJobInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StartReferenceImportJobInputBuilder
impl PartialEq for StartReferenceImportJobInputBuilder
source§fn eq(&self, other: &StartReferenceImportJobInputBuilder) -> bool
fn eq(&self, other: &StartReferenceImportJobInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartReferenceImportJobInputBuilder
Auto Trait Implementations§
impl Freeze for StartReferenceImportJobInputBuilder
impl RefUnwindSafe for StartReferenceImportJobInputBuilder
impl Send for StartReferenceImportJobInputBuilder
impl Sync for StartReferenceImportJobInputBuilder
impl Unpin for StartReferenceImportJobInputBuilder
impl UnwindSafe for StartReferenceImportJobInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.