#[non_exhaustive]pub struct AwsS3BucketLoggingConfiguration {
pub destination_bucket_name: Option<String>,
pub log_file_prefix: Option<String>,
}
Expand description
Information about logging for the S3 bucket
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.destination_bucket_name: Option<String>
The name of the S3 bucket where log files for the S3 bucket are stored.
log_file_prefix: Option<String>
The prefix added to log files for the S3 bucket.
Implementations§
source§impl AwsS3BucketLoggingConfiguration
impl AwsS3BucketLoggingConfiguration
sourcepub fn destination_bucket_name(&self) -> Option<&str>
pub fn destination_bucket_name(&self) -> Option<&str>
The name of the S3 bucket where log files for the S3 bucket are stored.
sourcepub fn log_file_prefix(&self) -> Option<&str>
pub fn log_file_prefix(&self) -> Option<&str>
The prefix added to log files for the S3 bucket.
source§impl AwsS3BucketLoggingConfiguration
impl AwsS3BucketLoggingConfiguration
sourcepub fn builder() -> AwsS3BucketLoggingConfigurationBuilder
pub fn builder() -> AwsS3BucketLoggingConfigurationBuilder
Creates a new builder-style object to manufacture AwsS3BucketLoggingConfiguration
.
Trait Implementations§
source§impl Clone for AwsS3BucketLoggingConfiguration
impl Clone for AwsS3BucketLoggingConfiguration
source§fn clone(&self) -> AwsS3BucketLoggingConfiguration
fn clone(&self) -> AwsS3BucketLoggingConfiguration
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 PartialEq for AwsS3BucketLoggingConfiguration
impl PartialEq for AwsS3BucketLoggingConfiguration
source§fn eq(&self, other: &AwsS3BucketLoggingConfiguration) -> bool
fn eq(&self, other: &AwsS3BucketLoggingConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsS3BucketLoggingConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for AwsS3BucketLoggingConfiguration
impl Send for AwsS3BucketLoggingConfiguration
impl Sync for AwsS3BucketLoggingConfiguration
impl Unpin for AwsS3BucketLoggingConfiguration
impl UnwindSafe for AwsS3BucketLoggingConfiguration
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.