#[non_exhaustive]pub struct ActivateReadSetSourceItemBuilder { /* private fields */ }Expand description
A builder for ActivateReadSetSourceItem.
Implementations§
source§impl ActivateReadSetSourceItemBuilder
impl ActivateReadSetSourceItemBuilder
sourcepub fn read_set_id(self, input: impl Into<String>) -> Self
pub fn read_set_id(self, input: impl Into<String>) -> Self
The source's read set ID.
This field is required.sourcepub fn set_read_set_id(self, input: Option<String>) -> Self
pub fn set_read_set_id(self, input: Option<String>) -> Self
The source's read set ID.
sourcepub fn get_read_set_id(&self) -> &Option<String>
pub fn get_read_set_id(&self) -> &Option<String>
The source's read set ID.
sourcepub fn status(self, input: ReadSetActivationJobItemStatus) -> Self
pub fn status(self, input: ReadSetActivationJobItemStatus) -> Self
The source's status.
This field is required.sourcepub fn set_status(self, input: Option<ReadSetActivationJobItemStatus>) -> Self
pub fn set_status(self, input: Option<ReadSetActivationJobItemStatus>) -> Self
The source's status.
sourcepub fn get_status(&self) -> &Option<ReadSetActivationJobItemStatus>
pub fn get_status(&self) -> &Option<ReadSetActivationJobItemStatus>
The source's status.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The source's status message.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The source's status message.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
The source's status message.
sourcepub fn build(self) -> Result<ActivateReadSetSourceItem, BuildError>
pub fn build(self) -> Result<ActivateReadSetSourceItem, BuildError>
Consumes the builder and constructs a ActivateReadSetSourceItem.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ActivateReadSetSourceItemBuilder
impl Clone for ActivateReadSetSourceItemBuilder
source§fn clone(&self) -> ActivateReadSetSourceItemBuilder
fn clone(&self) -> ActivateReadSetSourceItemBuilder
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 ActivateReadSetSourceItemBuilder
impl Default for ActivateReadSetSourceItemBuilder
source§fn default() -> ActivateReadSetSourceItemBuilder
fn default() -> ActivateReadSetSourceItemBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ActivateReadSetSourceItemBuilder
impl PartialEq for ActivateReadSetSourceItemBuilder
source§fn eq(&self, other: &ActivateReadSetSourceItemBuilder) -> bool
fn eq(&self, other: &ActivateReadSetSourceItemBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ActivateReadSetSourceItemBuilder
Auto Trait Implementations§
impl Freeze for ActivateReadSetSourceItemBuilder
impl RefUnwindSafe for ActivateReadSetSourceItemBuilder
impl Send for ActivateReadSetSourceItemBuilder
impl Sync for ActivateReadSetSourceItemBuilder
impl Unpin for ActivateReadSetSourceItemBuilder
impl UnwindSafe for ActivateReadSetSourceItemBuilder
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.