#[non_exhaustive]pub struct CodeArtifactsBuilder { /* private fields */ }
Expand description
A builder for CodeArtifacts
.
Implementations§
source§impl CodeArtifactsBuilder
impl CodeArtifactsBuilder
sourcepub fn source_code_artifacts_object_key(self, input: impl Into<String>) -> Self
pub fn source_code_artifacts_object_key(self, input: impl Into<String>) -> Self
The S3 object key for a source code .zip file. This is required for all code reviews.
This field is required.sourcepub fn set_source_code_artifacts_object_key(self, input: Option<String>) -> Self
pub fn set_source_code_artifacts_object_key(self, input: Option<String>) -> Self
The S3 object key for a source code .zip file. This is required for all code reviews.
sourcepub fn get_source_code_artifacts_object_key(&self) -> &Option<String>
pub fn get_source_code_artifacts_object_key(&self) -> &Option<String>
The S3 object key for a source code .zip file. This is required for all code reviews.
sourcepub fn build_artifacts_object_key(self, input: impl Into<String>) -> Self
pub fn build_artifacts_object_key(self, input: impl Into<String>) -> Self
The S3 object key for a build artifacts .zip file that contains .jar or .class files. This is required for a code review with security analysis. For more information, see Create code reviews with GitHub Actions in the Amazon CodeGuru Reviewer User Guide.
sourcepub fn set_build_artifacts_object_key(self, input: Option<String>) -> Self
pub fn set_build_artifacts_object_key(self, input: Option<String>) -> Self
The S3 object key for a build artifacts .zip file that contains .jar or .class files. This is required for a code review with security analysis. For more information, see Create code reviews with GitHub Actions in the Amazon CodeGuru Reviewer User Guide.
sourcepub fn get_build_artifacts_object_key(&self) -> &Option<String>
pub fn get_build_artifacts_object_key(&self) -> &Option<String>
The S3 object key for a build artifacts .zip file that contains .jar or .class files. This is required for a code review with security analysis. For more information, see Create code reviews with GitHub Actions in the Amazon CodeGuru Reviewer User Guide.
sourcepub fn build(self) -> Result<CodeArtifacts, BuildError>
pub fn build(self) -> Result<CodeArtifacts, BuildError>
Consumes the builder and constructs a CodeArtifacts
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CodeArtifactsBuilder
impl Clone for CodeArtifactsBuilder
source§fn clone(&self) -> CodeArtifactsBuilder
fn clone(&self) -> CodeArtifactsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CodeArtifactsBuilder
impl Debug for CodeArtifactsBuilder
source§impl Default for CodeArtifactsBuilder
impl Default for CodeArtifactsBuilder
source§fn default() -> CodeArtifactsBuilder
fn default() -> CodeArtifactsBuilder
source§impl PartialEq for CodeArtifactsBuilder
impl PartialEq for CodeArtifactsBuilder
source§fn eq(&self, other: &CodeArtifactsBuilder) -> bool
fn eq(&self, other: &CodeArtifactsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.