Struct aws_sdk_codestar::types::builders::CodeDestinationBuilder
source · #[non_exhaustive]pub struct CodeDestinationBuilder { /* private fields */ }
Expand description
A builder for CodeDestination
.
Implementations§
source§impl CodeDestinationBuilder
impl CodeDestinationBuilder
sourcepub fn code_commit(self, input: CodeCommitCodeDestination) -> Self
pub fn code_commit(self, input: CodeCommitCodeDestination) -> Self
Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
sourcepub fn set_code_commit(self, input: Option<CodeCommitCodeDestination>) -> Self
pub fn set_code_commit(self, input: Option<CodeCommitCodeDestination>) -> Self
Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
sourcepub fn get_code_commit(&self) -> &Option<CodeCommitCodeDestination>
pub fn get_code_commit(&self) -> &Option<CodeCommitCodeDestination>
Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
sourcepub fn git_hub(self, input: GitHubCodeDestination) -> Self
pub fn git_hub(self, input: GitHubCodeDestination) -> Self
Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
sourcepub fn set_git_hub(self, input: Option<GitHubCodeDestination>) -> Self
pub fn set_git_hub(self, input: Option<GitHubCodeDestination>) -> Self
Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
sourcepub fn get_git_hub(&self) -> &Option<GitHubCodeDestination>
pub fn get_git_hub(&self) -> &Option<GitHubCodeDestination>
Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
sourcepub fn build(self) -> CodeDestination
pub fn build(self) -> CodeDestination
Consumes the builder and constructs a CodeDestination
.
Trait Implementations§
source§impl Clone for CodeDestinationBuilder
impl Clone for CodeDestinationBuilder
source§fn clone(&self) -> CodeDestinationBuilder
fn clone(&self) -> CodeDestinationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CodeDestinationBuilder
impl Debug for CodeDestinationBuilder
source§impl Default for CodeDestinationBuilder
impl Default for CodeDestinationBuilder
source§fn default() -> CodeDestinationBuilder
fn default() -> CodeDestinationBuilder
source§impl PartialEq for CodeDestinationBuilder
impl PartialEq for CodeDestinationBuilder
source§fn eq(&self, other: &CodeDestinationBuilder) -> bool
fn eq(&self, other: &CodeDestinationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CodeDestinationBuilder
Auto Trait Implementations§
impl Freeze for CodeDestinationBuilder
impl RefUnwindSafe for CodeDestinationBuilder
impl Send for CodeDestinationBuilder
impl Sync for CodeDestinationBuilder
impl Unpin for CodeDestinationBuilder
impl UnwindSafe for CodeDestinationBuilder
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> 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