#[non_exhaustive]pub struct AwsS3BucketLoggingConfigurationBuilder { /* private fields */ }
Expand description
A builder for AwsS3BucketLoggingConfiguration
.
Implementations§
source§impl AwsS3BucketLoggingConfigurationBuilder
impl AwsS3BucketLoggingConfigurationBuilder
sourcepub fn destination_bucket_name(self, input: impl Into<String>) -> Self
pub fn destination_bucket_name(self, input: impl Into<String>) -> Self
The name of the S3 bucket where log files for the S3 bucket are stored.
sourcepub fn set_destination_bucket_name(self, input: Option<String>) -> Self
pub fn set_destination_bucket_name(self, input: Option<String>) -> Self
The name of the S3 bucket where log files for the S3 bucket are stored.
sourcepub fn get_destination_bucket_name(&self) -> &Option<String>
pub fn get_destination_bucket_name(&self) -> &Option<String>
The name of the S3 bucket where log files for the S3 bucket are stored.
sourcepub fn log_file_prefix(self, input: impl Into<String>) -> Self
pub fn log_file_prefix(self, input: impl Into<String>) -> Self
The prefix added to log files for the S3 bucket.
sourcepub fn set_log_file_prefix(self, input: Option<String>) -> Self
pub fn set_log_file_prefix(self, input: Option<String>) -> Self
The prefix added to log files for the S3 bucket.
sourcepub fn get_log_file_prefix(&self) -> &Option<String>
pub fn get_log_file_prefix(&self) -> &Option<String>
The prefix added to log files for the S3 bucket.
sourcepub fn build(self) -> AwsS3BucketLoggingConfiguration
pub fn build(self) -> AwsS3BucketLoggingConfiguration
Consumes the builder and constructs a AwsS3BucketLoggingConfiguration
.
Trait Implementations§
source§impl Clone for AwsS3BucketLoggingConfigurationBuilder
impl Clone for AwsS3BucketLoggingConfigurationBuilder
source§fn clone(&self) -> AwsS3BucketLoggingConfigurationBuilder
fn clone(&self) -> AwsS3BucketLoggingConfigurationBuilder
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 Default for AwsS3BucketLoggingConfigurationBuilder
impl Default for AwsS3BucketLoggingConfigurationBuilder
source§fn default() -> AwsS3BucketLoggingConfigurationBuilder
fn default() -> AwsS3BucketLoggingConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsS3BucketLoggingConfigurationBuilder
impl PartialEq for AwsS3BucketLoggingConfigurationBuilder
source§fn eq(&self, other: &AwsS3BucketLoggingConfigurationBuilder) -> bool
fn eq(&self, other: &AwsS3BucketLoggingConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsS3BucketLoggingConfigurationBuilder
Auto Trait Implementations§
impl Freeze for AwsS3BucketLoggingConfigurationBuilder
impl RefUnwindSafe for AwsS3BucketLoggingConfigurationBuilder
impl Send for AwsS3BucketLoggingConfigurationBuilder
impl Sync for AwsS3BucketLoggingConfigurationBuilder
impl Unpin for AwsS3BucketLoggingConfigurationBuilder
impl UnwindSafe for AwsS3BucketLoggingConfigurationBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.