Struct aws_sdk_iot::types::builders::CloudwatchLogsActionBuilder
source · #[non_exhaustive]pub struct CloudwatchLogsActionBuilder { /* private fields */ }Expand description
A builder for CloudwatchLogsAction.
Implementations§
source§impl CloudwatchLogsActionBuilder
impl CloudwatchLogsActionBuilder
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The IAM role that allows access to the CloudWatch log.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The IAM role that allows access to the CloudWatch log.
sourcepub fn log_group_name(self, input: impl Into<String>) -> Self
pub fn log_group_name(self, input: impl Into<String>) -> Self
The CloudWatch log group to which the action sends data.
sourcepub fn set_log_group_name(self, input: Option<String>) -> Self
pub fn set_log_group_name(self, input: Option<String>) -> Self
The CloudWatch log group to which the action sends data.
sourcepub fn batch_mode(self, input: bool) -> Self
pub fn batch_mode(self, input: bool) -> Self
Indicates whether batches of log records will be extracted and uploaded into CloudWatch. Values include true or false (default).
sourcepub fn set_batch_mode(self, input: Option<bool>) -> Self
pub fn set_batch_mode(self, input: Option<bool>) -> Self
Indicates whether batches of log records will be extracted and uploaded into CloudWatch. Values include true or false (default).
sourcepub fn build(self) -> CloudwatchLogsAction
pub fn build(self) -> CloudwatchLogsAction
Consumes the builder and constructs a CloudwatchLogsAction.
Trait Implementations§
source§impl Clone for CloudwatchLogsActionBuilder
impl Clone for CloudwatchLogsActionBuilder
source§fn clone(&self) -> CloudwatchLogsActionBuilder
fn clone(&self) -> CloudwatchLogsActionBuilder
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 CloudwatchLogsActionBuilder
impl Debug for CloudwatchLogsActionBuilder
source§impl Default for CloudwatchLogsActionBuilder
impl Default for CloudwatchLogsActionBuilder
source§fn default() -> CloudwatchLogsActionBuilder
fn default() -> CloudwatchLogsActionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CloudwatchLogsActionBuilder> for CloudwatchLogsActionBuilder
impl PartialEq<CloudwatchLogsActionBuilder> for CloudwatchLogsActionBuilder
source§fn eq(&self, other: &CloudwatchLogsActionBuilder) -> bool
fn eq(&self, other: &CloudwatchLogsActionBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CloudwatchLogsActionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CloudwatchLogsActionBuilder
impl Send for CloudwatchLogsActionBuilder
impl Sync for CloudwatchLogsActionBuilder
impl Unpin for CloudwatchLogsActionBuilder
impl UnwindSafe for CloudwatchLogsActionBuilder
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