Struct aws_sdk_iot::types::builders::LogTargetConfigurationBuilder
source · #[non_exhaustive]pub struct LogTargetConfigurationBuilder { /* private fields */ }
Expand description
A builder for LogTargetConfiguration
.
Implementations§
source§impl LogTargetConfigurationBuilder
impl LogTargetConfigurationBuilder
sourcepub fn log_target(self, input: LogTarget) -> Self
pub fn log_target(self, input: LogTarget) -> Self
A log target
sourcepub fn set_log_target(self, input: Option<LogTarget>) -> Self
pub fn set_log_target(self, input: Option<LogTarget>) -> Self
A log target
sourcepub fn get_log_target(&self) -> &Option<LogTarget>
pub fn get_log_target(&self) -> &Option<LogTarget>
A log target
sourcepub fn set_log_level(self, input: Option<LogLevel>) -> Self
pub fn set_log_level(self, input: Option<LogLevel>) -> Self
The logging level.
sourcepub fn get_log_level(&self) -> &Option<LogLevel>
pub fn get_log_level(&self) -> &Option<LogLevel>
The logging level.
sourcepub fn build(self) -> LogTargetConfiguration
pub fn build(self) -> LogTargetConfiguration
Consumes the builder and constructs a LogTargetConfiguration
.
Trait Implementations§
source§impl Clone for LogTargetConfigurationBuilder
impl Clone for LogTargetConfigurationBuilder
source§fn clone(&self) -> LogTargetConfigurationBuilder
fn clone(&self) -> LogTargetConfigurationBuilder
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 Default for LogTargetConfigurationBuilder
impl Default for LogTargetConfigurationBuilder
source§fn default() -> LogTargetConfigurationBuilder
fn default() -> LogTargetConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LogTargetConfigurationBuilder
impl PartialEq for LogTargetConfigurationBuilder
source§fn eq(&self, other: &LogTargetConfigurationBuilder) -> bool
fn eq(&self, other: &LogTargetConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LogTargetConfigurationBuilder
Auto Trait Implementations§
impl Freeze for LogTargetConfigurationBuilder
impl RefUnwindSafe for LogTargetConfigurationBuilder
impl Send for LogTargetConfigurationBuilder
impl Sync for LogTargetConfigurationBuilder
impl Unpin for LogTargetConfigurationBuilder
impl UnwindSafe for LogTargetConfigurationBuilder
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.