#[non_exhaustive]pub struct S3RepositoryDetails {
pub bucket_name: Option<String>,
pub code_artifacts: Option<CodeArtifacts>,
}
Expand description
Specifies the name of an S3 bucket and a CodeArtifacts
object that contains the S3 object keys for a source code .zip file and for a build artifacts .zip file that contains .jar or .class files.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.bucket_name: Option<String>
The name of the S3 bucket used for associating a new S3 repository. It must begin with codeguru-reviewer-
.
code_artifacts: Option<CodeArtifacts>
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.
Implementations§
source§impl S3RepositoryDetails
impl S3RepositoryDetails
sourcepub fn bucket_name(&self) -> Option<&str>
pub fn bucket_name(&self) -> Option<&str>
The name of the S3 bucket used for associating a new S3 repository. It must begin with codeguru-reviewer-
.
sourcepub fn code_artifacts(&self) -> Option<&CodeArtifacts>
pub fn code_artifacts(&self) -> Option<&CodeArtifacts>
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.
source§impl S3RepositoryDetails
impl S3RepositoryDetails
sourcepub fn builder() -> S3RepositoryDetailsBuilder
pub fn builder() -> S3RepositoryDetailsBuilder
Creates a new builder-style object to manufacture S3RepositoryDetails
.
Trait Implementations§
source§impl Clone for S3RepositoryDetails
impl Clone for S3RepositoryDetails
source§fn clone(&self) -> S3RepositoryDetails
fn clone(&self) -> S3RepositoryDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3RepositoryDetails
impl Debug for S3RepositoryDetails
source§impl PartialEq for S3RepositoryDetails
impl PartialEq for S3RepositoryDetails
source§fn eq(&self, other: &S3RepositoryDetails) -> bool
fn eq(&self, other: &S3RepositoryDetails) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3RepositoryDetails
Auto Trait Implementations§
impl Freeze for S3RepositoryDetails
impl RefUnwindSafe for S3RepositoryDetails
impl Send for S3RepositoryDetails
impl Sync for S3RepositoryDetails
impl Unpin for S3RepositoryDetails
impl UnwindSafe for S3RepositoryDetails
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more