#[non_exhaustive]pub struct TargetObjectKeyFormatBuilder { /* private fields */ }
Expand description
A builder for TargetObjectKeyFormat
.
Implementations§
Source§impl TargetObjectKeyFormatBuilder
impl TargetObjectKeyFormatBuilder
Sourcepub fn simple_prefix(self, input: SimplePrefix) -> Self
pub fn simple_prefix(self, input: SimplePrefix) -> Self
To use the simple format for S3 keys for log objects. To specify SimplePrefix format, set SimplePrefix to {}.
Sourcepub fn set_simple_prefix(self, input: Option<SimplePrefix>) -> Self
pub fn set_simple_prefix(self, input: Option<SimplePrefix>) -> Self
To use the simple format for S3 keys for log objects. To specify SimplePrefix format, set SimplePrefix to {}.
Sourcepub fn get_simple_prefix(&self) -> &Option<SimplePrefix>
pub fn get_simple_prefix(&self) -> &Option<SimplePrefix>
To use the simple format for S3 keys for log objects. To specify SimplePrefix format, set SimplePrefix to {}.
Sourcepub fn partitioned_prefix(self, input: PartitionedPrefix) -> Self
pub fn partitioned_prefix(self, input: PartitionedPrefix) -> Self
Partitioned S3 key for log objects.
Sourcepub fn set_partitioned_prefix(self, input: Option<PartitionedPrefix>) -> Self
pub fn set_partitioned_prefix(self, input: Option<PartitionedPrefix>) -> Self
Partitioned S3 key for log objects.
Sourcepub fn get_partitioned_prefix(&self) -> &Option<PartitionedPrefix>
pub fn get_partitioned_prefix(&self) -> &Option<PartitionedPrefix>
Partitioned S3 key for log objects.
Sourcepub fn build(self) -> TargetObjectKeyFormat
pub fn build(self) -> TargetObjectKeyFormat
Consumes the builder and constructs a TargetObjectKeyFormat
.
Trait Implementations§
Source§impl Clone for TargetObjectKeyFormatBuilder
impl Clone for TargetObjectKeyFormatBuilder
Source§fn clone(&self) -> TargetObjectKeyFormatBuilder
fn clone(&self) -> TargetObjectKeyFormatBuilder
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 TargetObjectKeyFormatBuilder
impl Debug for TargetObjectKeyFormatBuilder
Source§impl Default for TargetObjectKeyFormatBuilder
impl Default for TargetObjectKeyFormatBuilder
Source§fn default() -> TargetObjectKeyFormatBuilder
fn default() -> TargetObjectKeyFormatBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for TargetObjectKeyFormatBuilder
impl PartialEq for TargetObjectKeyFormatBuilder
Source§fn eq(&self, other: &TargetObjectKeyFormatBuilder) -> bool
fn eq(&self, other: &TargetObjectKeyFormatBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for TargetObjectKeyFormatBuilder
Auto Trait Implementations§
impl Freeze for TargetObjectKeyFormatBuilder
impl RefUnwindSafe for TargetObjectKeyFormatBuilder
impl Send for TargetObjectKeyFormatBuilder
impl Sync for TargetObjectKeyFormatBuilder
impl Unpin for TargetObjectKeyFormatBuilder
impl UnwindSafe for TargetObjectKeyFormatBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.