Struct aws_sdk_iot::types::builders::EnableIoTLoggingParamsBuilder
source · #[non_exhaustive]pub struct EnableIoTLoggingParamsBuilder { /* private fields */ }
Expand description
A builder for EnableIoTLoggingParams
.
Implementations§
source§impl EnableIoTLoggingParamsBuilder
impl EnableIoTLoggingParamsBuilder
sourcepub fn role_arn_for_logging(self, input: impl Into<String>) -> Self
pub fn role_arn_for_logging(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the IAM role used for logging.
This field is required.sourcepub fn set_role_arn_for_logging(self, input: Option<String>) -> Self
pub fn set_role_arn_for_logging(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the IAM role used for logging.
sourcepub fn get_role_arn_for_logging(&self) -> &Option<String>
pub fn get_role_arn_for_logging(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the IAM role used for logging.
sourcepub fn log_level(self, input: LogLevel) -> Self
pub fn log_level(self, input: LogLevel) -> Self
Specifies the type of information to be logged.
This field is required.sourcepub fn set_log_level(self, input: Option<LogLevel>) -> Self
pub fn set_log_level(self, input: Option<LogLevel>) -> Self
Specifies the type of information to be logged.
sourcepub fn get_log_level(&self) -> &Option<LogLevel>
pub fn get_log_level(&self) -> &Option<LogLevel>
Specifies the type of information to be logged.
sourcepub fn build(self) -> Result<EnableIoTLoggingParams, BuildError>
pub fn build(self) -> Result<EnableIoTLoggingParams, BuildError>
Consumes the builder and constructs a EnableIoTLoggingParams
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EnableIoTLoggingParamsBuilder
impl Clone for EnableIoTLoggingParamsBuilder
source§fn clone(&self) -> EnableIoTLoggingParamsBuilder
fn clone(&self) -> EnableIoTLoggingParamsBuilder
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 EnableIoTLoggingParamsBuilder
impl Default for EnableIoTLoggingParamsBuilder
source§fn default() -> EnableIoTLoggingParamsBuilder
fn default() -> EnableIoTLoggingParamsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EnableIoTLoggingParamsBuilder
impl PartialEq for EnableIoTLoggingParamsBuilder
source§fn eq(&self, other: &EnableIoTLoggingParamsBuilder) -> bool
fn eq(&self, other: &EnableIoTLoggingParamsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EnableIoTLoggingParamsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for EnableIoTLoggingParamsBuilder
impl Send for EnableIoTLoggingParamsBuilder
impl Sync for EnableIoTLoggingParamsBuilder
impl Unpin for EnableIoTLoggingParamsBuilder
impl UnwindSafe for EnableIoTLoggingParamsBuilder
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.