#[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.
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 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<TextLogDestinationBuilder> for TextLogDestinationBuilder
impl PartialEq<TextLogDestinationBuilder> 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 ==.