Struct aws_sdk_codestarconnections::operation::create_repository_link::builders::CreateRepositoryLinkFluentBuilder
source · pub struct CreateRepositoryLinkFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateRepositoryLink
.
Creates a link to 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 CreateRepositoryLinkFluentBuilder
impl CreateRepositoryLinkFluentBuilder
sourcepub fn as_input(&self) -> &CreateRepositoryLinkInputBuilder
pub fn as_input(&self) -> &CreateRepositoryLinkInputBuilder
Access the CreateRepositoryLink as a reference.
sourcepub async fn send(
self,
) -> Result<CreateRepositoryLinkOutput, SdkError<CreateRepositoryLinkError, HttpResponse>>
pub async fn send( self, ) -> Result<CreateRepositoryLinkOutput, SdkError<CreateRepositoryLinkError, 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<CreateRepositoryLinkOutput, CreateRepositoryLinkError, Self>
pub fn customize( self, ) -> CustomizableOperation<CreateRepositoryLinkOutput, CreateRepositoryLinkError, 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 to be associated with the repository 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 to be associated with the repository 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 to be associated with the repository link.
sourcepub fn owner_id(self, input: impl Into<String>) -> Self
pub fn owner_id(self, input: impl Into<String>) -> Self
The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.
sourcepub fn set_owner_id(self, input: Option<String>) -> Self
pub fn set_owner_id(self, input: Option<String>) -> Self
The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.
sourcepub fn get_owner_id(&self) -> &Option<String>
pub fn get_owner_id(&self) -> &Option<String>
The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The name of the repository to be associated with the repository link.
sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The name of the repository to be associated with the repository link.
sourcepub fn get_repository_name(&self) -> &Option<String>
pub fn get_repository_name(&self) -> &Option<String>
The name of the repository to be associated with the repository 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) encryption key for the repository to be associated with the repository link.
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) encryption key for the repository to be associated with the repository link.
sourcepub fn get_encryption_key_arn(&self) -> &Option<String>
pub fn get_encryption_key_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) encryption key for the repository to be associated with the repository link.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
The tags for the repository to be associated with the repository link.
The tags for the repository to be associated with the repository link.
The tags for the repository to be associated with the repository link.
Trait Implementations§
source§impl Clone for CreateRepositoryLinkFluentBuilder
impl Clone for CreateRepositoryLinkFluentBuilder
source§fn clone(&self) -> CreateRepositoryLinkFluentBuilder
fn clone(&self) -> CreateRepositoryLinkFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateRepositoryLinkFluentBuilder
impl !RefUnwindSafe for CreateRepositoryLinkFluentBuilder
impl Send for CreateRepositoryLinkFluentBuilder
impl Sync for CreateRepositoryLinkFluentBuilder
impl Unpin for CreateRepositoryLinkFluentBuilder
impl !UnwindSafe for CreateRepositoryLinkFluentBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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