Struct aws_sdk_iot::operation::get_v2_logging_options::builders::GetV2LoggingOptionsOutputBuilder
source · #[non_exhaustive]pub struct GetV2LoggingOptionsOutputBuilder { /* private fields */ }
Expand description
A builder for GetV2LoggingOptionsOutput
.
Implementations§
source§impl GetV2LoggingOptionsOutputBuilder
impl GetV2LoggingOptionsOutputBuilder
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The IAM role ARN IoT uses to write to your CloudWatch logs.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The IAM role ARN IoT uses to write to your CloudWatch logs.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The IAM role ARN IoT uses to write to your CloudWatch logs.
sourcepub fn default_log_level(self, input: LogLevel) -> Self
pub fn default_log_level(self, input: LogLevel) -> Self
The default log level.
sourcepub fn set_default_log_level(self, input: Option<LogLevel>) -> Self
pub fn set_default_log_level(self, input: Option<LogLevel>) -> Self
The default log level.
sourcepub fn get_default_log_level(&self) -> &Option<LogLevel>
pub fn get_default_log_level(&self) -> &Option<LogLevel>
The default log level.
sourcepub fn disable_all_logs(self, input: bool) -> Self
pub fn disable_all_logs(self, input: bool) -> Self
Disables all logs.
sourcepub fn set_disable_all_logs(self, input: Option<bool>) -> Self
pub fn set_disable_all_logs(self, input: Option<bool>) -> Self
Disables all logs.
sourcepub fn get_disable_all_logs(&self) -> &Option<bool>
pub fn get_disable_all_logs(&self) -> &Option<bool>
Disables all logs.
sourcepub fn build(self) -> GetV2LoggingOptionsOutput
pub fn build(self) -> GetV2LoggingOptionsOutput
Consumes the builder and constructs a GetV2LoggingOptionsOutput
.
Trait Implementations§
source§impl Clone for GetV2LoggingOptionsOutputBuilder
impl Clone for GetV2LoggingOptionsOutputBuilder
source§fn clone(&self) -> GetV2LoggingOptionsOutputBuilder
fn clone(&self) -> GetV2LoggingOptionsOutputBuilder
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 GetV2LoggingOptionsOutputBuilder
impl Default for GetV2LoggingOptionsOutputBuilder
source§fn default() -> GetV2LoggingOptionsOutputBuilder
fn default() -> GetV2LoggingOptionsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetV2LoggingOptionsOutputBuilder
impl PartialEq for GetV2LoggingOptionsOutputBuilder
source§fn eq(&self, other: &GetV2LoggingOptionsOutputBuilder) -> bool
fn eq(&self, other: &GetV2LoggingOptionsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetV2LoggingOptionsOutputBuilder
Auto Trait Implementations§
impl Freeze for GetV2LoggingOptionsOutputBuilder
impl RefUnwindSafe for GetV2LoggingOptionsOutputBuilder
impl Send for GetV2LoggingOptionsOutputBuilder
impl Sync for GetV2LoggingOptionsOutputBuilder
impl Unpin for GetV2LoggingOptionsOutputBuilder
impl UnwindSafe for GetV2LoggingOptionsOutputBuilder
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.