#[non_exhaustive]pub struct SyncBlockerSummaryBuilder { /* private fields */ }
Expand description
A builder for SyncBlockerSummary
.
Implementations§
source§impl SyncBlockerSummaryBuilder
impl SyncBlockerSummaryBuilder
sourcepub fn resource_name(self, input: impl Into<String>) -> Self
pub fn resource_name(self, input: impl Into<String>) -> Self
The resource name for sync blocker summary.
This field is required.sourcepub fn set_resource_name(self, input: Option<String>) -> Self
pub fn set_resource_name(self, input: Option<String>) -> Self
The resource name for sync blocker summary.
sourcepub fn get_resource_name(&self) -> &Option<String>
pub fn get_resource_name(&self) -> &Option<String>
The resource name for sync blocker summary.
sourcepub fn parent_resource_name(self, input: impl Into<String>) -> Self
pub fn parent_resource_name(self, input: impl Into<String>) -> Self
The parent resource name for a sync blocker summary.
sourcepub fn set_parent_resource_name(self, input: Option<String>) -> Self
pub fn set_parent_resource_name(self, input: Option<String>) -> Self
The parent resource name for a sync blocker summary.
sourcepub fn get_parent_resource_name(&self) -> &Option<String>
pub fn get_parent_resource_name(&self) -> &Option<String>
The parent resource name for a sync blocker summary.
sourcepub fn latest_blockers(self, input: SyncBlocker) -> Self
pub fn latest_blockers(self, input: SyncBlocker) -> Self
Appends an item to latest_blockers
.
To override the contents of this collection use set_latest_blockers
.
The latest events for a sync blocker summary.
sourcepub fn set_latest_blockers(self, input: Option<Vec<SyncBlocker>>) -> Self
pub fn set_latest_blockers(self, input: Option<Vec<SyncBlocker>>) -> Self
The latest events for a sync blocker summary.
sourcepub fn get_latest_blockers(&self) -> &Option<Vec<SyncBlocker>>
pub fn get_latest_blockers(&self) -> &Option<Vec<SyncBlocker>>
The latest events for a sync blocker summary.
sourcepub fn build(self) -> Result<SyncBlockerSummary, BuildError>
pub fn build(self) -> Result<SyncBlockerSummary, BuildError>
Consumes the builder and constructs a SyncBlockerSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SyncBlockerSummaryBuilder
impl Clone for SyncBlockerSummaryBuilder
source§fn clone(&self) -> SyncBlockerSummaryBuilder
fn clone(&self) -> SyncBlockerSummaryBuilder
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 SyncBlockerSummaryBuilder
impl Debug for SyncBlockerSummaryBuilder
source§impl Default for SyncBlockerSummaryBuilder
impl Default for SyncBlockerSummaryBuilder
source§fn default() -> SyncBlockerSummaryBuilder
fn default() -> SyncBlockerSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SyncBlockerSummaryBuilder
impl PartialEq for SyncBlockerSummaryBuilder
source§fn eq(&self, other: &SyncBlockerSummaryBuilder) -> bool
fn eq(&self, other: &SyncBlockerSummaryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SyncBlockerSummaryBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SyncBlockerSummaryBuilder
impl Send for SyncBlockerSummaryBuilder
impl Sync for SyncBlockerSummaryBuilder
impl Unpin for SyncBlockerSummaryBuilder
impl UnwindSafe for SyncBlockerSummaryBuilder
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.