Struct aws_sdk_macie2::types::S3BucketDefinitionForJob
source · #[non_exhaustive]pub struct S3BucketDefinitionForJob {
pub account_id: Option<String>,
pub buckets: Option<Vec<String>>,
}
Expand description
Specifies an Amazon Web Services account that owns S3 buckets for a classification job to analyze, and one or more specific buckets to analyze for that account.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.account_id: Option<String>
The unique identifier for the Amazon Web Services account that owns the buckets.
buckets: Option<Vec<String>>
An array that lists the names of the buckets.
Implementations§
source§impl S3BucketDefinitionForJob
impl S3BucketDefinitionForJob
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The unique identifier for the Amazon Web Services account that owns the buckets.
source§impl S3BucketDefinitionForJob
impl S3BucketDefinitionForJob
sourcepub fn builder() -> S3BucketDefinitionForJobBuilder
pub fn builder() -> S3BucketDefinitionForJobBuilder
Creates a new builder-style object to manufacture S3BucketDefinitionForJob
.
Trait Implementations§
source§impl Clone for S3BucketDefinitionForJob
impl Clone for S3BucketDefinitionForJob
source§fn clone(&self) -> S3BucketDefinitionForJob
fn clone(&self) -> S3BucketDefinitionForJob
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for S3BucketDefinitionForJob
impl Debug for S3BucketDefinitionForJob
source§impl PartialEq for S3BucketDefinitionForJob
impl PartialEq for S3BucketDefinitionForJob
source§fn eq(&self, other: &S3BucketDefinitionForJob) -> bool
fn eq(&self, other: &S3BucketDefinitionForJob) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3BucketDefinitionForJob
Auto Trait Implementations§
impl RefUnwindSafe for S3BucketDefinitionForJob
impl Send for S3BucketDefinitionForJob
impl Sync for S3BucketDefinitionForJob
impl Unpin for S3BucketDefinitionForJob
impl UnwindSafe for S3BucketDefinitionForJob
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.