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 ==
.