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 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 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 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<GetV2LoggingOptionsOutputBuilder> for GetV2LoggingOptionsOutputBuilder
impl PartialEq<GetV2LoggingOptionsOutputBuilder> 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 ==
.