Struct aws_sdk_omics::operation::create_variant_store::builders::CreateVariantStoreOutputBuilder
source · #[non_exhaustive]pub struct CreateVariantStoreOutputBuilder { /* private fields */ }
Expand description
A builder for CreateVariantStoreOutput
.
Implementations§
source§impl CreateVariantStoreOutputBuilder
impl CreateVariantStoreOutputBuilder
sourcepub fn reference(self, input: ReferenceItem) -> Self
pub fn reference(self, input: ReferenceItem) -> Self
The store's genome reference.
sourcepub fn set_reference(self, input: Option<ReferenceItem>) -> Self
pub fn set_reference(self, input: Option<ReferenceItem>) -> Self
The store's genome reference.
sourcepub fn get_reference(&self) -> &Option<ReferenceItem>
pub fn get_reference(&self) -> &Option<ReferenceItem>
The store's genome reference.
sourcepub fn status(self, input: StoreStatus) -> Self
pub fn status(self, input: StoreStatus) -> Self
The store's status.
This field is required.sourcepub fn set_status(self, input: Option<StoreStatus>) -> Self
pub fn set_status(self, input: Option<StoreStatus>) -> Self
The store's status.
sourcepub fn get_status(&self) -> &Option<StoreStatus>
pub fn get_status(&self) -> &Option<StoreStatus>
The store's status.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
When the store was created.
This field is required.sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
When the store was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
When the store was created.
sourcepub fn build(self) -> Result<CreateVariantStoreOutput, BuildError>
pub fn build(self) -> Result<CreateVariantStoreOutput, BuildError>
Consumes the builder and constructs a CreateVariantStoreOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateVariantStoreOutputBuilder
impl Clone for CreateVariantStoreOutputBuilder
source§fn clone(&self) -> CreateVariantStoreOutputBuilder
fn clone(&self) -> CreateVariantStoreOutputBuilder
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 CreateVariantStoreOutputBuilder
impl Default for CreateVariantStoreOutputBuilder
source§fn default() -> CreateVariantStoreOutputBuilder
fn default() -> CreateVariantStoreOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateVariantStoreOutputBuilder
impl PartialEq for CreateVariantStoreOutputBuilder
source§fn eq(&self, other: &CreateVariantStoreOutputBuilder) -> bool
fn eq(&self, other: &CreateVariantStoreOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateVariantStoreOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateVariantStoreOutputBuilder
impl RefUnwindSafe for CreateVariantStoreOutputBuilder
impl Send for CreateVariantStoreOutputBuilder
impl Sync for CreateVariantStoreOutputBuilder
impl Unpin for CreateVariantStoreOutputBuilder
impl UnwindSafe for CreateVariantStoreOutputBuilder
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.