pub struct ExportConfig { /* private fields */ }Expand description
Configurations to control the behavior of exporting logs to CloudWatch.
Implementations§
Source§impl ExportConfig
impl ExportConfig
Sourcepub fn with_batch_size<T>(self, batch_size: T) -> Self
pub fn with_batch_size<T>(self, batch_size: T) -> Self
Set batch size.
Sourcepub fn with_interval(self, interval: Duration) -> Self
pub fn with_interval(self, interval: Duration) -> Self
Set export interval.
Sourcepub fn with_log_group_name(self, log_group_name: impl Into<String>) -> Self
pub fn with_log_group_name(self, log_group_name: impl Into<String>) -> Self
Set log group name.
Sourcepub fn with_log_stream_name(self, log_stream_name: impl Into<String>) -> Self
pub fn with_log_stream_name(self, log_stream_name: impl Into<String>) -> Self
Set log stream name.
Trait Implementations§
Source§impl Clone for ExportConfig
impl Clone for ExportConfig
Source§fn clone(&self) -> ExportConfig
fn clone(&self) -> ExportConfig
Returns a duplicate 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 ExportConfig
impl Debug for ExportConfig
Auto Trait Implementations§
impl Freeze for ExportConfig
impl RefUnwindSafe for ExportConfig
impl Send for ExportConfig
impl Sync for ExportConfig
impl Unpin for ExportConfig
impl UnwindSafe for ExportConfig
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