pub struct Builder { /* private fields */ }Expand description
A builder for S3RepositoryDetails.
Implementations§
source§impl Builder
impl Builder
sourcepub fn bucket_name(self, input: impl Into<String>) -> Self
pub fn bucket_name(self, input: impl Into<String>) -> Self
The name of the S3 bucket used for associating a new S3 repository. It must begin with codeguru-reviewer-.
sourcepub fn set_bucket_name(self, input: Option<String>) -> Self
pub fn set_bucket_name(self, input: Option<String>) -> Self
The name of the S3 bucket used for associating a new S3 repository. It must begin with codeguru-reviewer-.
sourcepub fn code_artifacts(self, input: CodeArtifacts) -> Self
pub fn code_artifacts(self, input: CodeArtifacts) -> Self
A CodeArtifacts object. The CodeArtifacts object includes the S3 object key for a source code .zip file and for a build artifacts .zip file that contains .jar or .class files.
sourcepub fn set_code_artifacts(self, input: Option<CodeArtifacts>) -> Self
pub fn set_code_artifacts(self, input: Option<CodeArtifacts>) -> Self
A CodeArtifacts object. The CodeArtifacts object includes the S3 object key for a source code .zip file and for a build artifacts .zip file that contains .jar or .class files.
sourcepub fn build(self) -> S3RepositoryDetails
pub fn build(self) -> S3RepositoryDetails
Consumes the builder and constructs a S3RepositoryDetails.