Struct aws_sdk_codestarconnections::operation::get_resource_sync_status::builders::GetResourceSyncStatusOutputBuilder
source · #[non_exhaustive]pub struct GetResourceSyncStatusOutputBuilder { /* private fields */ }
Expand description
A builder for GetResourceSyncStatusOutput
.
Implementations§
source§impl GetResourceSyncStatusOutputBuilder
impl GetResourceSyncStatusOutputBuilder
sourcepub fn desired_state(self, input: Revision) -> Self
pub fn desired_state(self, input: Revision) -> Self
The desired state of the Amazon Web Services resource for the sync status with the Git repository.
sourcepub fn set_desired_state(self, input: Option<Revision>) -> Self
pub fn set_desired_state(self, input: Option<Revision>) -> Self
The desired state of the Amazon Web Services resource for the sync status with the Git repository.
sourcepub fn get_desired_state(&self) -> &Option<Revision>
pub fn get_desired_state(&self) -> &Option<Revision>
The desired state of the Amazon Web Services resource for the sync status with the Git repository.
sourcepub fn latest_successful_sync(self, input: ResourceSyncAttempt) -> Self
pub fn latest_successful_sync(self, input: ResourceSyncAttempt) -> Self
The latest successful sync for the sync status with the Git repository.
sourcepub fn set_latest_successful_sync(
self,
input: Option<ResourceSyncAttempt>,
) -> Self
pub fn set_latest_successful_sync( self, input: Option<ResourceSyncAttempt>, ) -> Self
The latest successful sync for the sync status with the Git repository.
sourcepub fn get_latest_successful_sync(&self) -> &Option<ResourceSyncAttempt>
pub fn get_latest_successful_sync(&self) -> &Option<ResourceSyncAttempt>
The latest successful sync for the sync status with the Git repository.
sourcepub fn latest_sync(self, input: ResourceSyncAttempt) -> Self
pub fn latest_sync(self, input: ResourceSyncAttempt) -> Self
The latest sync for the sync status with the Git repository, whether successful or not.
This field is required.sourcepub fn set_latest_sync(self, input: Option<ResourceSyncAttempt>) -> Self
pub fn set_latest_sync(self, input: Option<ResourceSyncAttempt>) -> Self
The latest sync for the sync status with the Git repository, whether successful or not.
sourcepub fn get_latest_sync(&self) -> &Option<ResourceSyncAttempt>
pub fn get_latest_sync(&self) -> &Option<ResourceSyncAttempt>
The latest sync for the sync status with the Git repository, whether successful or not.
sourcepub fn build(self) -> GetResourceSyncStatusOutput
pub fn build(self) -> GetResourceSyncStatusOutput
Consumes the builder and constructs a GetResourceSyncStatusOutput
.
Trait Implementations§
source§impl Clone for GetResourceSyncStatusOutputBuilder
impl Clone for GetResourceSyncStatusOutputBuilder
source§fn clone(&self) -> GetResourceSyncStatusOutputBuilder
fn clone(&self) -> GetResourceSyncStatusOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetResourceSyncStatusOutputBuilder
impl Default for GetResourceSyncStatusOutputBuilder
source§fn default() -> GetResourceSyncStatusOutputBuilder
fn default() -> GetResourceSyncStatusOutputBuilder
source§impl PartialEq for GetResourceSyncStatusOutputBuilder
impl PartialEq for GetResourceSyncStatusOutputBuilder
source§fn eq(&self, other: &GetResourceSyncStatusOutputBuilder) -> bool
fn eq(&self, other: &GetResourceSyncStatusOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetResourceSyncStatusOutputBuilder
Auto Trait Implementations§
impl Freeze for GetResourceSyncStatusOutputBuilder
impl RefUnwindSafe for GetResourceSyncStatusOutputBuilder
impl Send for GetResourceSyncStatusOutputBuilder
impl Sync for GetResourceSyncStatusOutputBuilder
impl Unpin for GetResourceSyncStatusOutputBuilder
impl UnwindSafe for GetResourceSyncStatusOutputBuilder
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
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>
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>
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 more