Struct aws_sdk_sfn::types::builders::LoggingConfigurationBuilder
source · #[non_exhaustive]pub struct LoggingConfigurationBuilder { /* private fields */ }Expand description
A builder for LoggingConfiguration.
Implementations§
source§impl LoggingConfigurationBuilder
impl LoggingConfigurationBuilder
sourcepub fn level(self, input: LogLevel) -> Self
pub fn level(self, input: LogLevel) -> Self
Defines which category of execution history events are logged.
sourcepub fn set_level(self, input: Option<LogLevel>) -> Self
pub fn set_level(self, input: Option<LogLevel>) -> Self
Defines which category of execution history events are logged.
sourcepub fn get_level(&self) -> &Option<LogLevel>
pub fn get_level(&self) -> &Option<LogLevel>
Defines which category of execution history events are logged.
sourcepub fn include_execution_data(self, input: bool) -> Self
pub fn include_execution_data(self, input: bool) -> Self
Determines whether execution data is included in your log. When set to false, data is excluded.
sourcepub fn set_include_execution_data(self, input: Option<bool>) -> Self
pub fn set_include_execution_data(self, input: Option<bool>) -> Self
Determines whether execution data is included in your log. When set to false, data is excluded.
sourcepub fn get_include_execution_data(&self) -> &Option<bool>
pub fn get_include_execution_data(&self) -> &Option<bool>
Determines whether execution data is included in your log. When set to false, data is excluded.
sourcepub fn destinations(self, input: LogDestination) -> Self
pub fn destinations(self, input: LogDestination) -> Self
Appends an item to destinations.
To override the contents of this collection use set_destinations.
An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set to OFF.
sourcepub fn set_destinations(self, input: Option<Vec<LogDestination>>) -> Self
pub fn set_destinations(self, input: Option<Vec<LogDestination>>) -> Self
An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set to OFF.
sourcepub fn get_destinations(&self) -> &Option<Vec<LogDestination>>
pub fn get_destinations(&self) -> &Option<Vec<LogDestination>>
An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set to OFF.
sourcepub fn build(self) -> LoggingConfiguration
pub fn build(self) -> LoggingConfiguration
Consumes the builder and constructs a LoggingConfiguration.
Trait Implementations§
source§impl Clone for LoggingConfigurationBuilder
impl Clone for LoggingConfigurationBuilder
source§fn clone(&self) -> LoggingConfigurationBuilder
fn clone(&self) -> LoggingConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for LoggingConfigurationBuilder
impl Debug for LoggingConfigurationBuilder
source§impl Default for LoggingConfigurationBuilder
impl Default for LoggingConfigurationBuilder
source§fn default() -> LoggingConfigurationBuilder
fn default() -> LoggingConfigurationBuilder
source§impl PartialEq for LoggingConfigurationBuilder
impl PartialEq for LoggingConfigurationBuilder
source§fn eq(&self, other: &LoggingConfigurationBuilder) -> bool
fn eq(&self, other: &LoggingConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LoggingConfigurationBuilder
Auto Trait Implementations§
impl Freeze for LoggingConfigurationBuilder
impl RefUnwindSafe for LoggingConfigurationBuilder
impl Send for LoggingConfigurationBuilder
impl Sync for LoggingConfigurationBuilder
impl Unpin for LoggingConfigurationBuilder
impl UnwindSafe for LoggingConfigurationBuilder
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> 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