Struct aws_sdk_codestar::model::code::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Code
.
Implementations§
source§impl Builder
impl Builder
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 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.