Struct aws_sdk_iot::types::builders::LogTargetBuilder
source · #[non_exhaustive]pub struct LogTargetBuilder { /* private fields */ }
Expand description
A builder for LogTarget
.
Implementations§
source§impl LogTargetBuilder
impl LogTargetBuilder
sourcepub fn target_type(self, input: LogTargetType) -> Self
pub fn target_type(self, input: LogTargetType) -> Self
The target type.
This field is required.sourcepub fn set_target_type(self, input: Option<LogTargetType>) -> Self
pub fn set_target_type(self, input: Option<LogTargetType>) -> Self
The target type.
sourcepub fn get_target_type(&self) -> &Option<LogTargetType>
pub fn get_target_type(&self) -> &Option<LogTargetType>
The target type.
sourcepub fn target_name(self, input: impl Into<String>) -> Self
pub fn target_name(self, input: impl Into<String>) -> Self
The target name.
sourcepub fn set_target_name(self, input: Option<String>) -> Self
pub fn set_target_name(self, input: Option<String>) -> Self
The target name.
sourcepub fn get_target_name(&self) -> &Option<String>
pub fn get_target_name(&self) -> &Option<String>
The target name.
Trait Implementations§
source§impl Clone for LogTargetBuilder
impl Clone for LogTargetBuilder
source§fn clone(&self) -> LogTargetBuilder
fn clone(&self) -> LogTargetBuilder
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 LogTargetBuilder
impl Debug for LogTargetBuilder
source§impl Default for LogTargetBuilder
impl Default for LogTargetBuilder
source§fn default() -> LogTargetBuilder
fn default() -> LogTargetBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LogTargetBuilder
impl PartialEq for LogTargetBuilder
source§fn eq(&self, other: &LogTargetBuilder) -> bool
fn eq(&self, other: &LogTargetBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LogTargetBuilder
Auto Trait Implementations§
impl Freeze for LogTargetBuilder
impl RefUnwindSafe for LogTargetBuilder
impl Send for LogTargetBuilder
impl Sync for LogTargetBuilder
impl Unpin for LogTargetBuilder
impl UnwindSafe for LogTargetBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.