Struct aws_sdk_codegurureviewer::model::repository_analysis::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for RepositoryAnalysis.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn repository_head(self, input: RepositoryHeadSourceCodeType) -> Self
pub fn repository_head(self, input: RepositoryHeadSourceCodeType) -> Self
A SourceCodeType that specifies the tip of a branch in an associated repository.
sourcepub fn set_repository_head(
self,
input: Option<RepositoryHeadSourceCodeType>
) -> Self
pub fn set_repository_head(
self,
input: Option<RepositoryHeadSourceCodeType>
) -> Self
A SourceCodeType that specifies the tip of a branch in an associated repository.
sourcepub fn source_code_type(self, input: SourceCodeType) -> Self
pub fn source_code_type(self, input: SourceCodeType) -> Self
Specifies the source code that is analyzed in a code review.
sourcepub fn set_source_code_type(self, input: Option<SourceCodeType>) -> Self
pub fn set_source_code_type(self, input: Option<SourceCodeType>) -> Self
Specifies the source code that is analyzed in a code review.
sourcepub fn build(self) -> RepositoryAnalysis
pub fn build(self) -> RepositoryAnalysis
Consumes the builder and constructs a RepositoryAnalysis.
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