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