Struct aws_sdk_iot::model::enable_io_t_logging_params::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for EnableIoTLoggingParams
.
Implementations§
source§impl Builder
impl Builder
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.
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 log_level(self, input: LogLevel) -> Self
pub fn log_level(self, input: LogLevel) -> Self
Specifies the type of information to be logged.
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 build(self) -> EnableIoTLoggingParams
pub fn build(self) -> EnableIoTLoggingParams
Consumes the builder and constructs a EnableIoTLoggingParams
.