#[non_exhaustive]pub struct TextLogDestinationBuilder { /* private fields */ }
Expand description
A builder for TextLogDestination
.
Implementations§
source§impl TextLogDestinationBuilder
impl TextLogDestinationBuilder
sourcepub fn cloud_watch(self, input: CloudWatchLogGroupLogDestination) -> Self
pub fn cloud_watch(self, input: CloudWatchLogGroupLogDestination) -> Self
Defines the Amazon CloudWatch Logs log group where text and metadata logs are delivered.
This field is required.sourcepub fn set_cloud_watch(
self,
input: Option<CloudWatchLogGroupLogDestination>
) -> Self
pub fn set_cloud_watch( self, input: Option<CloudWatchLogGroupLogDestination> ) -> Self
Defines the Amazon CloudWatch Logs log group where text and metadata logs are delivered.
sourcepub fn get_cloud_watch(&self) -> &Option<CloudWatchLogGroupLogDestination>
pub fn get_cloud_watch(&self) -> &Option<CloudWatchLogGroupLogDestination>
Defines the Amazon CloudWatch Logs log group where text and metadata logs are delivered.
sourcepub fn build(self) -> TextLogDestination
pub fn build(self) -> TextLogDestination
Consumes the builder and constructs a TextLogDestination
.
Trait Implementations§
source§impl Clone for TextLogDestinationBuilder
impl Clone for TextLogDestinationBuilder
source§fn clone(&self) -> TextLogDestinationBuilder
fn clone(&self) -> TextLogDestinationBuilder
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 TextLogDestinationBuilder
impl Debug for TextLogDestinationBuilder
source§impl Default for TextLogDestinationBuilder
impl Default for TextLogDestinationBuilder
source§fn default() -> TextLogDestinationBuilder
fn default() -> TextLogDestinationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TextLogDestinationBuilder
impl PartialEq for TextLogDestinationBuilder
source§fn eq(&self, other: &TextLogDestinationBuilder) -> bool
fn eq(&self, other: &TextLogDestinationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TextLogDestinationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TextLogDestinationBuilder
impl Send for TextLogDestinationBuilder
impl Sync for TextLogDestinationBuilder
impl Unpin for TextLogDestinationBuilder
impl UnwindSafe for TextLogDestinationBuilder
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.