pub struct S3LogsConfigBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> S3LogsConfigBuilder<S>
impl<S: State> S3LogsConfigBuilder<S>
Sourcepub fn build(self) -> S3LogsConfigwhere
S: IsComplete,
pub fn build(self) -> S3LogsConfigwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn status(self, value: String) -> S3LogsConfigBuilder<SetStatus<S>>where
S::Status: IsUnset,
pub fn status(self, value: String) -> S3LogsConfigBuilder<SetStatus<S>>where
S::Status: IsUnset,
Required.
Sourcepub fn location(self, value: String) -> S3LogsConfigBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn location(self, value: String) -> S3LogsConfigBuilder<SetLocation<S>>where
S::Location: IsUnset,
Sourcepub fn maybe_location(
self,
value: Option<String>,
) -> S3LogsConfigBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn maybe_location(
self,
value: Option<String>,
) -> S3LogsConfigBuilder<SetLocation<S>>where
S::Location: IsUnset,
Sourcepub fn encryption_disabled(
self,
value: bool,
) -> S3LogsConfigBuilder<SetEncryptionDisabled<S>>where
S::EncryptionDisabled: IsUnset,
pub fn encryption_disabled(
self,
value: bool,
) -> S3LogsConfigBuilder<SetEncryptionDisabled<S>>where
S::EncryptionDisabled: IsUnset,
Sourcepub fn maybe_encryption_disabled(
self,
value: Option<bool>,
) -> S3LogsConfigBuilder<SetEncryptionDisabled<S>>where
S::EncryptionDisabled: IsUnset,
pub fn maybe_encryption_disabled(
self,
value: Option<bool>,
) -> S3LogsConfigBuilder<SetEncryptionDisabled<S>>where
S::EncryptionDisabled: IsUnset,
Sourcepub fn bucket_owner_access(
self,
value: String,
) -> S3LogsConfigBuilder<SetBucketOwnerAccess<S>>where
S::BucketOwnerAccess: IsUnset,
pub fn bucket_owner_access(
self,
value: String,
) -> S3LogsConfigBuilder<SetBucketOwnerAccess<S>>where
S::BucketOwnerAccess: IsUnset,
Sourcepub fn maybe_bucket_owner_access(
self,
value: Option<String>,
) -> S3LogsConfigBuilder<SetBucketOwnerAccess<S>>where
S::BucketOwnerAccess: IsUnset,
pub fn maybe_bucket_owner_access(
self,
value: Option<String>,
) -> S3LogsConfigBuilder<SetBucketOwnerAccess<S>>where
S::BucketOwnerAccess: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for S3LogsConfigBuilder<S>
impl<S> RefUnwindSafe for S3LogsConfigBuilder<S>
impl<S> Send for S3LogsConfigBuilder<S>
impl<S> Sync for S3LogsConfigBuilder<S>
impl<S> Unpin for S3LogsConfigBuilder<S>
impl<S> UnsafeUnpin for S3LogsConfigBuilder<S>
impl<S> UnwindSafe for S3LogsConfigBuilder<S>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.