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.
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.
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<CodeBuilder> for CodeBuilder
impl PartialEq<CodeBuilder> 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 ==
.