pub struct Builder { /* private fields */ }Expand description
A builder for RepositoryAnalysis.
Implementations§
source§impl 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.