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