#[non_exhaustive]pub struct DatasetContentStatusBuilder { /* private fields */ }
Expand description
A builder for DatasetContentStatus
.
Implementations§
source§impl DatasetContentStatusBuilder
impl DatasetContentStatusBuilder
sourcepub fn state(self, input: DatasetContentState) -> Self
pub fn state(self, input: DatasetContentState) -> Self
The state of the dataset contents. Can be one of READY, CREATING, SUCCEEDED, or FAILED.
sourcepub fn set_state(self, input: Option<DatasetContentState>) -> Self
pub fn set_state(self, input: Option<DatasetContentState>) -> Self
The state of the dataset contents. Can be one of READY, CREATING, SUCCEEDED, or FAILED.
sourcepub fn get_state(&self) -> &Option<DatasetContentState>
pub fn get_state(&self) -> &Option<DatasetContentState>
The state of the dataset contents. Can be one of READY, CREATING, SUCCEEDED, or FAILED.
sourcepub fn reason(self, input: impl Into<String>) -> Self
pub fn reason(self, input: impl Into<String>) -> Self
The reason the dataset contents are in this state.
sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
The reason the dataset contents are in this state.
sourcepub fn get_reason(&self) -> &Option<String>
pub fn get_reason(&self) -> &Option<String>
The reason the dataset contents are in this state.
sourcepub fn build(self) -> DatasetContentStatus
pub fn build(self) -> DatasetContentStatus
Consumes the builder and constructs a DatasetContentStatus
.
Trait Implementations§
source§impl Clone for DatasetContentStatusBuilder
impl Clone for DatasetContentStatusBuilder
source§fn clone(&self) -> DatasetContentStatusBuilder
fn clone(&self) -> DatasetContentStatusBuilder
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 Debug for DatasetContentStatusBuilder
impl Debug for DatasetContentStatusBuilder
source§impl Default for DatasetContentStatusBuilder
impl Default for DatasetContentStatusBuilder
source§fn default() -> DatasetContentStatusBuilder
fn default() -> DatasetContentStatusBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DatasetContentStatusBuilder
impl PartialEq for DatasetContentStatusBuilder
source§fn eq(&self, other: &DatasetContentStatusBuilder) -> bool
fn eq(&self, other: &DatasetContentStatusBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DatasetContentStatusBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DatasetContentStatusBuilder
impl Send for DatasetContentStatusBuilder
impl Sync for DatasetContentStatusBuilder
impl Unpin for DatasetContentStatusBuilder
impl UnwindSafe for DatasetContentStatusBuilder
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.