Struct aws_sdk_apprunner::model::source_code_version::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SourceCodeVersion
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn type(self, input: SourceCodeVersionType) -> Self
pub fn type(self, input: SourceCodeVersionType) -> Self
The type of version identifier.
For a git-based repository, branches represent versions.
sourcepub fn set_type(self, input: Option<SourceCodeVersionType>) -> Self
pub fn set_type(self, input: Option<SourceCodeVersionType>) -> Self
The type of version identifier.
For a git-based repository, branches represent versions.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
A source code version.
For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
A source code version.
For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.
sourcepub fn build(self) -> SourceCodeVersion
pub fn build(self) -> SourceCodeVersion
Consumes the builder and constructs a SourceCodeVersion
.