Struct aws_sdk_apprunner::model::code_repository::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CodeRepository
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn repository_url(self, input: impl Into<String>) -> Self
pub fn repository_url(self, input: impl Into<String>) -> Self
The location of the repository that contains the source code.
sourcepub fn set_repository_url(self, input: Option<String>) -> Self
pub fn set_repository_url(self, input: Option<String>) -> Self
The location of the repository that contains the source code.
sourcepub fn source_code_version(self, input: SourceCodeVersion) -> Self
pub fn source_code_version(self, input: SourceCodeVersion) -> Self
The version that should be used within the source code repository.
sourcepub fn set_source_code_version(self, input: Option<SourceCodeVersion>) -> Self
pub fn set_source_code_version(self, input: Option<SourceCodeVersion>) -> Self
The version that should be used within the source code repository.
sourcepub fn code_configuration(self, input: CodeConfiguration) -> Self
pub fn code_configuration(self, input: CodeConfiguration) -> Self
Configuration for building and running the service from a source code repository.
CodeConfiguration
is required only for CreateService
request.
sourcepub fn set_code_configuration(self, input: Option<CodeConfiguration>) -> Self
pub fn set_code_configuration(self, input: Option<CodeConfiguration>) -> Self
Configuration for building and running the service from a source code repository.
CodeConfiguration
is required only for CreateService
request.
sourcepub fn build(self) -> CodeRepository
pub fn build(self) -> CodeRepository
Consumes the builder and constructs a CodeRepository
.