Struct aws_sdk_iottwinmaker::types::builders::SyncJobStatusBuilder
source · #[non_exhaustive]pub struct SyncJobStatusBuilder { /* private fields */ }
Expand description
A builder for SyncJobStatus
.
Implementations§
source§impl SyncJobStatusBuilder
impl SyncJobStatusBuilder
sourcepub fn state(self, input: SyncJobState) -> Self
pub fn state(self, input: SyncJobState) -> Self
The SyncJob status state.
sourcepub fn set_state(self, input: Option<SyncJobState>) -> Self
pub fn set_state(self, input: Option<SyncJobState>) -> Self
The SyncJob status state.
sourcepub fn get_state(&self) -> &Option<SyncJobState>
pub fn get_state(&self) -> &Option<SyncJobState>
The SyncJob status state.
sourcepub fn error(self, input: ErrorDetails) -> Self
pub fn error(self, input: ErrorDetails) -> Self
The SyncJob error.
sourcepub fn set_error(self, input: Option<ErrorDetails>) -> Self
pub fn set_error(self, input: Option<ErrorDetails>) -> Self
The SyncJob error.
sourcepub fn get_error(&self) -> &Option<ErrorDetails>
pub fn get_error(&self) -> &Option<ErrorDetails>
The SyncJob error.
sourcepub fn build(self) -> SyncJobStatus
pub fn build(self) -> SyncJobStatus
Consumes the builder and constructs a SyncJobStatus
.
Trait Implementations§
source§impl Clone for SyncJobStatusBuilder
impl Clone for SyncJobStatusBuilder
source§fn clone(&self) -> SyncJobStatusBuilder
fn clone(&self) -> SyncJobStatusBuilder
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 SyncJobStatusBuilder
impl Debug for SyncJobStatusBuilder
source§impl Default for SyncJobStatusBuilder
impl Default for SyncJobStatusBuilder
source§fn default() -> SyncJobStatusBuilder
fn default() -> SyncJobStatusBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SyncJobStatusBuilder
impl PartialEq for SyncJobStatusBuilder
source§fn eq(&self, other: &SyncJobStatusBuilder) -> bool
fn eq(&self, other: &SyncJobStatusBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SyncJobStatusBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SyncJobStatusBuilder
impl Send for SyncJobStatusBuilder
impl Sync for SyncJobStatusBuilder
impl Unpin for SyncJobStatusBuilder
impl UnwindSafe for SyncJobStatusBuilder
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.