Struct aws_sdk_proton::operation::get_template_sync_status::builders::GetTemplateSyncStatusOutputBuilder
source · #[non_exhaustive]pub struct GetTemplateSyncStatusOutputBuilder { /* private fields */ }
Expand description
A builder for GetTemplateSyncStatusOutput
.
Implementations§
source§impl GetTemplateSyncStatusOutputBuilder
impl GetTemplateSyncStatusOutputBuilder
sourcepub fn latest_sync(self, input: ResourceSyncAttempt) -> Self
pub fn latest_sync(self, input: ResourceSyncAttempt) -> Self
The details of the last sync that's returned by Proton.
sourcepub fn set_latest_sync(self, input: Option<ResourceSyncAttempt>) -> Self
pub fn set_latest_sync(self, input: Option<ResourceSyncAttempt>) -> Self
The details of the last sync that's returned by Proton.
sourcepub fn get_latest_sync(&self) -> &Option<ResourceSyncAttempt>
pub fn get_latest_sync(&self) -> &Option<ResourceSyncAttempt>
The details of the last sync that's returned by Proton.
sourcepub fn latest_successful_sync(self, input: ResourceSyncAttempt) -> Self
pub fn latest_successful_sync(self, input: ResourceSyncAttempt) -> Self
The details of the last successful sync that's returned by Proton.
sourcepub fn set_latest_successful_sync(
self,
input: Option<ResourceSyncAttempt>
) -> Self
pub fn set_latest_successful_sync( self, input: Option<ResourceSyncAttempt> ) -> Self
The details of the last successful sync that's returned by Proton.
sourcepub fn get_latest_successful_sync(&self) -> &Option<ResourceSyncAttempt>
pub fn get_latest_successful_sync(&self) -> &Option<ResourceSyncAttempt>
The details of the last successful sync that's returned by Proton.
sourcepub fn desired_state(self, input: Revision) -> Self
pub fn desired_state(self, input: Revision) -> Self
The template sync desired state that's returned by Proton.
sourcepub fn set_desired_state(self, input: Option<Revision>) -> Self
pub fn set_desired_state(self, input: Option<Revision>) -> Self
The template sync desired state that's returned by Proton.
sourcepub fn get_desired_state(&self) -> &Option<Revision>
pub fn get_desired_state(&self) -> &Option<Revision>
The template sync desired state that's returned by Proton.
sourcepub fn build(self) -> GetTemplateSyncStatusOutput
pub fn build(self) -> GetTemplateSyncStatusOutput
Consumes the builder and constructs a GetTemplateSyncStatusOutput
.
Trait Implementations§
source§impl Clone for GetTemplateSyncStatusOutputBuilder
impl Clone for GetTemplateSyncStatusOutputBuilder
source§fn clone(&self) -> GetTemplateSyncStatusOutputBuilder
fn clone(&self) -> GetTemplateSyncStatusOutputBuilder
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 GetTemplateSyncStatusOutputBuilder
impl Default for GetTemplateSyncStatusOutputBuilder
source§fn default() -> GetTemplateSyncStatusOutputBuilder
fn default() -> GetTemplateSyncStatusOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetTemplateSyncStatusOutputBuilder
impl PartialEq for GetTemplateSyncStatusOutputBuilder
source§fn eq(&self, other: &GetTemplateSyncStatusOutputBuilder) -> bool
fn eq(&self, other: &GetTemplateSyncStatusOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetTemplateSyncStatusOutputBuilder
Auto Trait Implementations§
impl Freeze for GetTemplateSyncStatusOutputBuilder
impl RefUnwindSafe for GetTemplateSyncStatusOutputBuilder
impl Send for GetTemplateSyncStatusOutputBuilder
impl Sync for GetTemplateSyncStatusOutputBuilder
impl Unpin for GetTemplateSyncStatusOutputBuilder
impl UnwindSafe for GetTemplateSyncStatusOutputBuilder
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.