#[non_exhaustive]pub struct SyncResourceSummaryBuilder { /* private fields */ }Expand description
A builder for SyncResourceSummary.
Implementations§
source§impl SyncResourceSummaryBuilder
impl SyncResourceSummaryBuilder
sourcepub fn resource_type(self, input: SyncResourceType) -> Self
pub fn resource_type(self, input: SyncResourceType) -> Self
The resource type.
sourcepub fn set_resource_type(self, input: Option<SyncResourceType>) -> Self
pub fn set_resource_type(self, input: Option<SyncResourceType>) -> Self
The resource type.
sourcepub fn get_resource_type(&self) -> &Option<SyncResourceType>
pub fn get_resource_type(&self) -> &Option<SyncResourceType>
The resource type.
sourcepub fn external_id(self, input: impl Into<String>) -> Self
pub fn external_id(self, input: impl Into<String>) -> Self
The external ID.
sourcepub fn set_external_id(self, input: Option<String>) -> Self
pub fn set_external_id(self, input: Option<String>) -> Self
The external ID.
sourcepub fn get_external_id(&self) -> &Option<String>
pub fn get_external_id(&self) -> &Option<String>
The external ID.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The resource ID.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The resource ID.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
The resource ID.
sourcepub fn status(self, input: SyncResourceStatus) -> Self
pub fn status(self, input: SyncResourceStatus) -> Self
The sync resource summary status.
sourcepub fn set_status(self, input: Option<SyncResourceStatus>) -> Self
pub fn set_status(self, input: Option<SyncResourceStatus>) -> Self
The sync resource summary status.
sourcepub fn get_status(&self) -> &Option<SyncResourceStatus>
pub fn get_status(&self) -> &Option<SyncResourceStatus>
The sync resource summary status.
sourcepub fn update_date_time(self, input: DateTime) -> Self
pub fn update_date_time(self, input: DateTime) -> Self
The update date and time.
sourcepub fn set_update_date_time(self, input: Option<DateTime>) -> Self
pub fn set_update_date_time(self, input: Option<DateTime>) -> Self
The update date and time.
sourcepub fn get_update_date_time(&self) -> &Option<DateTime>
pub fn get_update_date_time(&self) -> &Option<DateTime>
The update date and time.
sourcepub fn build(self) -> SyncResourceSummary
pub fn build(self) -> SyncResourceSummary
Consumes the builder and constructs a SyncResourceSummary.
Trait Implementations§
source§impl Clone for SyncResourceSummaryBuilder
impl Clone for SyncResourceSummaryBuilder
source§fn clone(&self) -> SyncResourceSummaryBuilder
fn clone(&self) -> SyncResourceSummaryBuilder
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 SyncResourceSummaryBuilder
impl Debug for SyncResourceSummaryBuilder
source§impl Default for SyncResourceSummaryBuilder
impl Default for SyncResourceSummaryBuilder
source§fn default() -> SyncResourceSummaryBuilder
fn default() -> SyncResourceSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SyncResourceSummaryBuilder
impl PartialEq for SyncResourceSummaryBuilder
source§fn eq(&self, other: &SyncResourceSummaryBuilder) -> bool
fn eq(&self, other: &SyncResourceSummaryBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SyncResourceSummaryBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SyncResourceSummaryBuilder
impl Send for SyncResourceSummaryBuilder
impl Sync for SyncResourceSummaryBuilder
impl Unpin for SyncResourceSummaryBuilder
impl UnwindSafe for SyncResourceSummaryBuilder
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.