Struct aws_sdk_s3::types::builders::BucketLoggingStatusBuilder
source · #[non_exhaustive]pub struct BucketLoggingStatusBuilder { /* private fields */ }
Expand description
A builder for BucketLoggingStatus
.
Implementations§
source§impl BucketLoggingStatusBuilder
impl BucketLoggingStatusBuilder
sourcepub fn logging_enabled(self, input: LoggingEnabled) -> Self
pub fn logging_enabled(self, input: LoggingEnabled) -> Self
Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys for a bucket. For more information, see PUT Bucket logging in the Amazon S3 API Reference.
sourcepub fn set_logging_enabled(self, input: Option<LoggingEnabled>) -> Self
pub fn set_logging_enabled(self, input: Option<LoggingEnabled>) -> Self
Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys for a bucket. For more information, see PUT Bucket logging in the Amazon S3 API Reference.
sourcepub fn get_logging_enabled(&self) -> &Option<LoggingEnabled>
pub fn get_logging_enabled(&self) -> &Option<LoggingEnabled>
Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys for a bucket. For more information, see PUT Bucket logging in the Amazon S3 API Reference.
sourcepub fn build(self) -> BucketLoggingStatus
pub fn build(self) -> BucketLoggingStatus
Consumes the builder and constructs a BucketLoggingStatus
.
Trait Implementations§
source§impl Clone for BucketLoggingStatusBuilder
impl Clone for BucketLoggingStatusBuilder
source§fn clone(&self) -> BucketLoggingStatusBuilder
fn clone(&self) -> BucketLoggingStatusBuilder
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 BucketLoggingStatusBuilder
impl Debug for BucketLoggingStatusBuilder
source§impl Default for BucketLoggingStatusBuilder
impl Default for BucketLoggingStatusBuilder
source§fn default() -> BucketLoggingStatusBuilder
fn default() -> BucketLoggingStatusBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BucketLoggingStatusBuilder
impl PartialEq for BucketLoggingStatusBuilder
source§fn eq(&self, other: &BucketLoggingStatusBuilder) -> bool
fn eq(&self, other: &BucketLoggingStatusBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BucketLoggingStatusBuilder
Auto Trait Implementations§
impl RefUnwindSafe for BucketLoggingStatusBuilder
impl Send for BucketLoggingStatusBuilder
impl Sync for BucketLoggingStatusBuilder
impl Unpin for BucketLoggingStatusBuilder
impl UnwindSafe for BucketLoggingStatusBuilder
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.