Struct aws_sdk_codestarconnections::operation::update_repository_link::builders::UpdateRepositoryLinkFluentBuilder
source · pub struct UpdateRepositoryLinkFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateRepositoryLink
.
Updates the association between your connection and a specified external Git repository. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.
Implementations§
source§impl UpdateRepositoryLinkFluentBuilder
impl UpdateRepositoryLinkFluentBuilder
sourcepub fn as_input(&self) -> &UpdateRepositoryLinkInputBuilder
pub fn as_input(&self) -> &UpdateRepositoryLinkInputBuilder
Access the UpdateRepositoryLink as a reference.
sourcepub async fn send(
self
) -> Result<UpdateRepositoryLinkOutput, SdkError<UpdateRepositoryLinkError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateRepositoryLinkOutput, SdkError<UpdateRepositoryLinkError, 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<UpdateRepositoryLinkOutput, UpdateRepositoryLinkError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateRepositoryLinkOutput, UpdateRepositoryLinkError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn connection_arn(self, input: impl Into<String>) -> Self
pub fn connection_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the connection for the repository link to be updated. The updated connection ARN must have the same providerType (such as GitHub) as the original connection ARN for the repo link.
sourcepub fn set_connection_arn(self, input: Option<String>) -> Self
pub fn set_connection_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the connection for the repository link to be updated. The updated connection ARN must have the same providerType (such as GitHub) as the original connection ARN for the repo link.
sourcepub fn get_connection_arn(&self) -> &Option<String>
pub fn get_connection_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the connection for the repository link to be updated. The updated connection ARN must have the same providerType (such as GitHub) as the original connection ARN for the repo link.
sourcepub fn encryption_key_arn(self, input: impl Into<String>) -> Self
pub fn encryption_key_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the encryption key for the repository link to be updated.
sourcepub fn set_encryption_key_arn(self, input: Option<String>) -> Self
pub fn set_encryption_key_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the encryption key for the repository link to be updated.
sourcepub fn get_encryption_key_arn(&self) -> &Option<String>
pub fn get_encryption_key_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the encryption key for the repository link to be updated.
sourcepub fn repository_link_id(self, input: impl Into<String>) -> Self
pub fn repository_link_id(self, input: impl Into<String>) -> Self
The ID of the repository link to be updated.
sourcepub fn set_repository_link_id(self, input: Option<String>) -> Self
pub fn set_repository_link_id(self, input: Option<String>) -> Self
The ID of the repository link to be updated.
sourcepub fn get_repository_link_id(&self) -> &Option<String>
pub fn get_repository_link_id(&self) -> &Option<String>
The ID of the repository link to be updated.
Trait Implementations§
source§impl Clone for UpdateRepositoryLinkFluentBuilder
impl Clone for UpdateRepositoryLinkFluentBuilder
source§fn clone(&self) -> UpdateRepositoryLinkFluentBuilder
fn clone(&self) -> UpdateRepositoryLinkFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more