Struct aws_sdk_apprunner::model::code_repository::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for CodeRepository
.
Implementations
sourceimpl 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
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more