#[non_exhaustive]pub struct ActivateReadSetJobItemBuilder { /* private fields */ }
Expand description
A builder for ActivateReadSetJobItem
.
Implementations§
source§impl ActivateReadSetJobItemBuilder
impl ActivateReadSetJobItemBuilder
sourcepub fn sequence_store_id(self, input: impl Into<String>) -> Self
pub fn sequence_store_id(self, input: impl Into<String>) -> Self
The job's sequence store ID.
This field is required.sourcepub fn set_sequence_store_id(self, input: Option<String>) -> Self
pub fn set_sequence_store_id(self, input: Option<String>) -> Self
The job's sequence store ID.
sourcepub fn get_sequence_store_id(&self) -> &Option<String>
pub fn get_sequence_store_id(&self) -> &Option<String>
The job's sequence store ID.
sourcepub fn status(self, input: ReadSetActivationJobStatus) -> Self
pub fn status(self, input: ReadSetActivationJobStatus) -> Self
The job's status.
This field is required.sourcepub fn set_status(self, input: Option<ReadSetActivationJobStatus>) -> Self
pub fn set_status(self, input: Option<ReadSetActivationJobStatus>) -> Self
The job's status.
sourcepub fn get_status(&self) -> &Option<ReadSetActivationJobStatus>
pub fn get_status(&self) -> &Option<ReadSetActivationJobStatus>
The job's status.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
When the job 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 job was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
When the job was created.
sourcepub fn completion_time(self, input: DateTime) -> Self
pub fn completion_time(self, input: DateTime) -> Self
When the job completed.
sourcepub fn set_completion_time(self, input: Option<DateTime>) -> Self
pub fn set_completion_time(self, input: Option<DateTime>) -> Self
When the job completed.
sourcepub fn get_completion_time(&self) -> &Option<DateTime>
pub fn get_completion_time(&self) -> &Option<DateTime>
When the job completed.
sourcepub fn build(self) -> Result<ActivateReadSetJobItem, BuildError>
pub fn build(self) -> Result<ActivateReadSetJobItem, BuildError>
Consumes the builder and constructs a ActivateReadSetJobItem
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ActivateReadSetJobItemBuilder
impl Clone for ActivateReadSetJobItemBuilder
source§fn clone(&self) -> ActivateReadSetJobItemBuilder
fn clone(&self) -> ActivateReadSetJobItemBuilder
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 ActivateReadSetJobItemBuilder
impl Default for ActivateReadSetJobItemBuilder
source§fn default() -> ActivateReadSetJobItemBuilder
fn default() -> ActivateReadSetJobItemBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ActivateReadSetJobItemBuilder
impl PartialEq for ActivateReadSetJobItemBuilder
source§fn eq(&self, other: &ActivateReadSetJobItemBuilder) -> bool
fn eq(&self, other: &ActivateReadSetJobItemBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ActivateReadSetJobItemBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ActivateReadSetJobItemBuilder
impl Send for ActivateReadSetJobItemBuilder
impl Sync for ActivateReadSetJobItemBuilder
impl Unpin for ActivateReadSetJobItemBuilder
impl UnwindSafe for ActivateReadSetJobItemBuilder
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>
Creates a shared type from an unshared type.