Struct aws_sdk_codestarconnections::operation::update_repository_link::builders::UpdateRepositoryLinkInputBuilder
source · #[non_exhaustive]pub struct UpdateRepositoryLinkInputBuilder { /* private fields */ }
Expand description
A builder for UpdateRepositoryLinkInput
.
Implementations§
source§impl UpdateRepositoryLinkInputBuilder
impl UpdateRepositoryLinkInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<UpdateRepositoryLinkInput, BuildError>
pub fn build(self) -> Result<UpdateRepositoryLinkInput, BuildError>
Consumes the builder and constructs a UpdateRepositoryLinkInput
.
source§impl UpdateRepositoryLinkInputBuilder
impl UpdateRepositoryLinkInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateRepositoryLinkOutput, SdkError<UpdateRepositoryLinkError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateRepositoryLinkOutput, SdkError<UpdateRepositoryLinkError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateRepositoryLinkInputBuilder
impl Clone for UpdateRepositoryLinkInputBuilder
source§fn clone(&self) -> UpdateRepositoryLinkInputBuilder
fn clone(&self) -> UpdateRepositoryLinkInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateRepositoryLinkInputBuilder
impl Default for UpdateRepositoryLinkInputBuilder
source§fn default() -> UpdateRepositoryLinkInputBuilder
fn default() -> UpdateRepositoryLinkInputBuilder
source§impl PartialEq for UpdateRepositoryLinkInputBuilder
impl PartialEq for UpdateRepositoryLinkInputBuilder
source§fn eq(&self, other: &UpdateRepositoryLinkInputBuilder) -> bool
fn eq(&self, other: &UpdateRepositoryLinkInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.