Struct aws_sdk_codestarconnections::operation::get_resource_sync_status::builders::GetResourceSyncStatusInputBuilder
source · #[non_exhaustive]pub struct GetResourceSyncStatusInputBuilder { /* private fields */ }
Expand description
A builder for GetResourceSyncStatusInput
.
Implementations§
source§impl GetResourceSyncStatusInputBuilder
impl GetResourceSyncStatusInputBuilder
sourcepub fn resource_name(self, input: impl Into<String>) -> Self
pub fn resource_name(self, input: impl Into<String>) -> Self
The name of the Amazon Web Services resource for the sync status with the Git repository.
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 name of the Amazon Web Services resource for the sync status with the Git repository.
sourcepub fn get_resource_name(&self) -> &Option<String>
pub fn get_resource_name(&self) -> &Option<String>
The name of the Amazon Web Services resource for the sync status with the Git repository.
sourcepub fn sync_type(self, input: SyncConfigurationType) -> Self
pub fn sync_type(self, input: SyncConfigurationType) -> Self
The sync type for the sync status with the Git repository.
This field is required.sourcepub fn set_sync_type(self, input: Option<SyncConfigurationType>) -> Self
pub fn set_sync_type(self, input: Option<SyncConfigurationType>) -> Self
The sync type for the sync status with the Git repository.
sourcepub fn get_sync_type(&self) -> &Option<SyncConfigurationType>
pub fn get_sync_type(&self) -> &Option<SyncConfigurationType>
The sync type for the sync status with the Git repository.
sourcepub fn build(self) -> Result<GetResourceSyncStatusInput, BuildError>
pub fn build(self) -> Result<GetResourceSyncStatusInput, BuildError>
Consumes the builder and constructs a GetResourceSyncStatusInput
.
source§impl GetResourceSyncStatusInputBuilder
impl GetResourceSyncStatusInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetResourceSyncStatusOutput, SdkError<GetResourceSyncStatusError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetResourceSyncStatusOutput, SdkError<GetResourceSyncStatusError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetResourceSyncStatusInputBuilder
impl Clone for GetResourceSyncStatusInputBuilder
source§fn clone(&self) -> GetResourceSyncStatusInputBuilder
fn clone(&self) -> GetResourceSyncStatusInputBuilder
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 GetResourceSyncStatusInputBuilder
impl Default for GetResourceSyncStatusInputBuilder
source§fn default() -> GetResourceSyncStatusInputBuilder
fn default() -> GetResourceSyncStatusInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetResourceSyncStatusInputBuilder
impl PartialEq for GetResourceSyncStatusInputBuilder
source§fn eq(&self, other: &GetResourceSyncStatusInputBuilder) -> bool
fn eq(&self, other: &GetResourceSyncStatusInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetResourceSyncStatusInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetResourceSyncStatusInputBuilder
impl Send for GetResourceSyncStatusInputBuilder
impl Sync for GetResourceSyncStatusInputBuilder
impl Unpin for GetResourceSyncStatusInputBuilder
impl UnwindSafe for GetResourceSyncStatusInputBuilder
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.