#[non_exhaustive]pub struct LogDeliveryConfiguration { /* private fields */ }
Expand description
Returns the destination, format and type of the logs.
Implementations§
source§impl LogDeliveryConfiguration
impl LogDeliveryConfiguration
sourcepub fn destination_type(&self) -> Option<&DestinationType>
pub fn destination_type(&self) -> Option<&DestinationType>
Returns the destination type, either cloudwatch-logs
or kinesis-firehose
.
sourcepub fn destination_details(&self) -> Option<&DestinationDetails>
pub fn destination_details(&self) -> Option<&DestinationDetails>
Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.
sourcepub fn log_format(&self) -> Option<&LogFormat>
pub fn log_format(&self) -> Option<&LogFormat>
Returns the log format, either JSON or TEXT.
sourcepub fn status(&self) -> Option<&LogDeliveryConfigurationStatus>
pub fn status(&self) -> Option<&LogDeliveryConfigurationStatus>
Returns the log delivery configuration status. Values are one of enabling
| disabling
| modifying
| active
| error
source§impl LogDeliveryConfiguration
impl LogDeliveryConfiguration
sourcepub fn builder() -> LogDeliveryConfigurationBuilder
pub fn builder() -> LogDeliveryConfigurationBuilder
Creates a new builder-style object to manufacture LogDeliveryConfiguration
.
Trait Implementations§
source§impl Clone for LogDeliveryConfiguration
impl Clone for LogDeliveryConfiguration
source§fn clone(&self) -> LogDeliveryConfiguration
fn clone(&self) -> LogDeliveryConfiguration
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 LogDeliveryConfiguration
impl Debug for LogDeliveryConfiguration
source§impl PartialEq<LogDeliveryConfiguration> for LogDeliveryConfiguration
impl PartialEq<LogDeliveryConfiguration> for LogDeliveryConfiguration
source§fn eq(&self, other: &LogDeliveryConfiguration) -> bool
fn eq(&self, other: &LogDeliveryConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LogDeliveryConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for LogDeliveryConfiguration
impl Send for LogDeliveryConfiguration
impl Sync for LogDeliveryConfiguration
impl Unpin for LogDeliveryConfiguration
impl UnwindSafe for LogDeliveryConfiguration
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