Struct aws_sdk_codestar::types::builders::CodeBuilder
source · #[non_exhaustive]pub struct CodeBuilder { /* private fields */ }
Expand description
A builder for Code
.
Implementations§
source§impl CodeBuilder
impl CodeBuilder
sourcepub fn source(self, input: CodeSource) -> Self
pub fn source(self, input: CodeSource) -> Self
The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.
This field is required.sourcepub fn set_source(self, input: Option<CodeSource>) -> Self
pub fn set_source(self, input: Option<CodeSource>) -> Self
The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.
sourcepub fn get_source(&self) -> &Option<CodeSource>
pub fn get_source(&self) -> &Option<CodeSource>
The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.
sourcepub fn destination(self, input: CodeDestination) -> Self
pub fn destination(self, input: CodeDestination) -> Self
The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.
This field is required.sourcepub fn set_destination(self, input: Option<CodeDestination>) -> Self
pub fn set_destination(self, input: Option<CodeDestination>) -> Self
The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.
sourcepub fn get_destination(&self) -> &Option<CodeDestination>
pub fn get_destination(&self) -> &Option<CodeDestination>
The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.
Trait Implementations§
source§impl Clone for CodeBuilder
impl Clone for CodeBuilder
source§fn clone(&self) -> CodeBuilder
fn clone(&self) -> CodeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CodeBuilder
impl Debug for CodeBuilder
source§impl Default for CodeBuilder
impl Default for CodeBuilder
source§fn default() -> CodeBuilder
fn default() -> CodeBuilder
source§impl PartialEq for CodeBuilder
impl PartialEq for CodeBuilder
source§fn eq(&self, other: &CodeBuilder) -> bool
fn eq(&self, other: &CodeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CodeBuilder
Auto Trait Implementations§
impl Freeze for CodeBuilder
impl RefUnwindSafe for CodeBuilder
impl Send for CodeBuilder
impl Sync for CodeBuilder
impl Unpin for CodeBuilder
impl UnwindSafe for CodeBuilder
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