#[non_exhaustive]pub struct PartitionedPrefixBuilder { /* private fields */ }
Expand description
A builder for PartitionedPrefix
.
Implementations§
source§impl PartitionedPrefixBuilder
impl PartitionedPrefixBuilder
sourcepub fn partition_date_source(self, input: PartitionDateSource) -> Self
pub fn partition_date_source(self, input: PartitionDateSource) -> Self
Specifies the partition date source for the partitioned prefix. PartitionDateSource
can be EventTime
or DeliveryTime
.
For DeliveryTime
, the time in the log file names corresponds to the delivery time for the log files.
For EventTime
, The logs delivered are for a specific day only. The year, month, and day correspond to the day on which the event occurred, and the hour, minutes and seconds are set to 00 in the key.
sourcepub fn set_partition_date_source(
self,
input: Option<PartitionDateSource>,
) -> Self
pub fn set_partition_date_source( self, input: Option<PartitionDateSource>, ) -> Self
Specifies the partition date source for the partitioned prefix. PartitionDateSource
can be EventTime
or DeliveryTime
.
For DeliveryTime
, the time in the log file names corresponds to the delivery time for the log files.
For EventTime
, The logs delivered are for a specific day only. The year, month, and day correspond to the day on which the event occurred, and the hour, minutes and seconds are set to 00 in the key.
sourcepub fn get_partition_date_source(&self) -> &Option<PartitionDateSource>
pub fn get_partition_date_source(&self) -> &Option<PartitionDateSource>
Specifies the partition date source for the partitioned prefix. PartitionDateSource
can be EventTime
or DeliveryTime
.
For DeliveryTime
, the time in the log file names corresponds to the delivery time for the log files.
For EventTime
, The logs delivered are for a specific day only. The year, month, and day correspond to the day on which the event occurred, and the hour, minutes and seconds are set to 00 in the key.
sourcepub fn build(self) -> PartitionedPrefix
pub fn build(self) -> PartitionedPrefix
Consumes the builder and constructs a PartitionedPrefix
.
Trait Implementations§
source§impl Clone for PartitionedPrefixBuilder
impl Clone for PartitionedPrefixBuilder
source§fn clone(&self) -> PartitionedPrefixBuilder
fn clone(&self) -> PartitionedPrefixBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PartitionedPrefixBuilder
impl Debug for PartitionedPrefixBuilder
source§impl Default for PartitionedPrefixBuilder
impl Default for PartitionedPrefixBuilder
source§fn default() -> PartitionedPrefixBuilder
fn default() -> PartitionedPrefixBuilder
source§impl PartialEq for PartitionedPrefixBuilder
impl PartialEq for PartitionedPrefixBuilder
impl StructuralPartialEq for PartitionedPrefixBuilder
Auto Trait Implementations§
impl Freeze for PartitionedPrefixBuilder
impl RefUnwindSafe for PartitionedPrefixBuilder
impl Send for PartitionedPrefixBuilder
impl Sync for PartitionedPrefixBuilder
impl Unpin for PartitionedPrefixBuilder
impl UnwindSafe for PartitionedPrefixBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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>
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 more