Struct aws_sdk_proton::operation::get_repository_sync_status::builders::GetRepositorySyncStatusFluentBuilder
source · pub struct GetRepositorySyncStatusFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetRepositorySyncStatus
.
Get the sync status of a repository used for Proton template sync. For more information about template sync, see .
A repository sync status isn't tied to the Proton Repository resource (or any other Proton resource). Therefore, tags on an Proton Repository resource have no effect on this action. Specifically, you can't use these tags to control access to this action using Attribute-based access control (ABAC).
For more information about ABAC, see ABAC in the Proton User Guide.
Implementations§
source§impl GetRepositorySyncStatusFluentBuilder
impl GetRepositorySyncStatusFluentBuilder
sourcepub fn as_input(&self) -> &GetRepositorySyncStatusInputBuilder
pub fn as_input(&self) -> &GetRepositorySyncStatusInputBuilder
Access the GetRepositorySyncStatus as a reference.
sourcepub async fn send(
self
) -> Result<GetRepositorySyncStatusOutput, SdkError<GetRepositorySyncStatusError, HttpResponse>>
pub async fn send( self ) -> Result<GetRepositorySyncStatusOutput, SdkError<GetRepositorySyncStatusError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<GetRepositorySyncStatusOutput, GetRepositorySyncStatusError, Self>
pub fn customize( self ) -> CustomizableOperation<GetRepositorySyncStatusOutput, GetRepositorySyncStatusError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The repository name.
sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The repository name.
sourcepub fn get_repository_name(&self) -> &Option<String>
pub fn get_repository_name(&self) -> &Option<String>
The repository name.
sourcepub fn repository_provider(self, input: RepositoryProvider) -> Self
pub fn repository_provider(self, input: RepositoryProvider) -> Self
The repository provider.
sourcepub fn set_repository_provider(self, input: Option<RepositoryProvider>) -> Self
pub fn set_repository_provider(self, input: Option<RepositoryProvider>) -> Self
The repository provider.
sourcepub fn get_repository_provider(&self) -> &Option<RepositoryProvider>
pub fn get_repository_provider(&self) -> &Option<RepositoryProvider>
The repository provider.
sourcepub fn set_branch(self, input: Option<String>) -> Self
pub fn set_branch(self, input: Option<String>) -> Self
The repository branch.
sourcepub fn get_branch(&self) -> &Option<String>
pub fn get_branch(&self) -> &Option<String>
The repository branch.
sourcepub fn set_sync_type(self, input: Option<SyncType>) -> Self
pub fn set_sync_type(self, input: Option<SyncType>) -> Self
The repository sync type.
sourcepub fn get_sync_type(&self) -> &Option<SyncType>
pub fn get_sync_type(&self) -> &Option<SyncType>
The repository sync type.
Trait Implementations§
source§impl Clone for GetRepositorySyncStatusFluentBuilder
impl Clone for GetRepositorySyncStatusFluentBuilder
source§fn clone(&self) -> GetRepositorySyncStatusFluentBuilder
fn clone(&self) -> GetRepositorySyncStatusFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more