Struct aws_sdk_omics::operation::get_reference_metadata::builders::GetReferenceMetadataOutputBuilder
source · #[non_exhaustive]pub struct GetReferenceMetadataOutputBuilder { /* private fields */ }
Expand description
A builder for GetReferenceMetadataOutput
.
Implementations§
source§impl GetReferenceMetadataOutputBuilder
impl GetReferenceMetadataOutputBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The reference's ARN.
This field is required.sourcepub fn reference_store_id(self, input: impl Into<String>) -> Self
pub fn reference_store_id(self, input: impl Into<String>) -> Self
The reference'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 reference's reference store ID.
sourcepub fn get_reference_store_id(&self) -> &Option<String>
pub fn get_reference_store_id(&self) -> &Option<String>
The reference's reference store ID.
sourcepub fn md5(self, input: impl Into<String>) -> Self
pub fn md5(self, input: impl Into<String>) -> Self
The reference's MD5 checksum.
This field is required.sourcepub fn status(self, input: ReferenceStatus) -> Self
pub fn status(self, input: ReferenceStatus) -> Self
The reference's status.
sourcepub fn set_status(self, input: Option<ReferenceStatus>) -> Self
pub fn set_status(self, input: Option<ReferenceStatus>) -> Self
The reference's status.
sourcepub fn get_status(&self) -> &Option<ReferenceStatus>
pub fn get_status(&self) -> &Option<ReferenceStatus>
The reference's status.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The reference's description.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The reference's description.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The reference's description.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
When the reference 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 reference was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
When the reference was created.
sourcepub fn update_time(self, input: DateTime) -> Self
pub fn update_time(self, input: DateTime) -> Self
When the reference was updated.
This field is required.sourcepub fn set_update_time(self, input: Option<DateTime>) -> Self
pub fn set_update_time(self, input: Option<DateTime>) -> Self
When the reference was updated.
sourcepub fn get_update_time(&self) -> &Option<DateTime>
pub fn get_update_time(&self) -> &Option<DateTime>
When the reference was updated.
sourcepub fn files(self, input: ReferenceFiles) -> Self
pub fn files(self, input: ReferenceFiles) -> Self
The reference's files.
sourcepub fn set_files(self, input: Option<ReferenceFiles>) -> Self
pub fn set_files(self, input: Option<ReferenceFiles>) -> Self
The reference's files.
sourcepub fn get_files(&self) -> &Option<ReferenceFiles>
pub fn get_files(&self) -> &Option<ReferenceFiles>
The reference's files.
sourcepub fn build(self) -> Result<GetReferenceMetadataOutput, BuildError>
pub fn build(self) -> Result<GetReferenceMetadataOutput, BuildError>
Consumes the builder and constructs a GetReferenceMetadataOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetReferenceMetadataOutputBuilder
impl Clone for GetReferenceMetadataOutputBuilder
source§fn clone(&self) -> GetReferenceMetadataOutputBuilder
fn clone(&self) -> GetReferenceMetadataOutputBuilder
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 GetReferenceMetadataOutputBuilder
impl Default for GetReferenceMetadataOutputBuilder
source§fn default() -> GetReferenceMetadataOutputBuilder
fn default() -> GetReferenceMetadataOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetReferenceMetadataOutputBuilder
impl PartialEq for GetReferenceMetadataOutputBuilder
source§fn eq(&self, other: &GetReferenceMetadataOutputBuilder) -> bool
fn eq(&self, other: &GetReferenceMetadataOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetReferenceMetadataOutputBuilder
Auto Trait Implementations§
impl Freeze for GetReferenceMetadataOutputBuilder
impl RefUnwindSafe for GetReferenceMetadataOutputBuilder
impl Send for GetReferenceMetadataOutputBuilder
impl Sync for GetReferenceMetadataOutputBuilder
impl Unpin for GetReferenceMetadataOutputBuilder
impl UnwindSafe for GetReferenceMetadataOutputBuilder
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.