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 ==
.impl StructuralPartialEq for UpdateRepositoryLinkInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateRepositoryLinkInputBuilder
impl RefUnwindSafe for UpdateRepositoryLinkInputBuilder
impl Send for UpdateRepositoryLinkInputBuilder
impl Sync for UpdateRepositoryLinkInputBuilder
impl Unpin for UpdateRepositoryLinkInputBuilder
impl UnwindSafe for UpdateRepositoryLinkInputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more