Struct aws_sdk_iot::types::builders::IotAnalyticsActionBuilder
source · #[non_exhaustive]pub struct IotAnalyticsActionBuilder { /* private fields */ }
Expand description
A builder for IotAnalyticsAction
.
Implementations§
source§impl IotAnalyticsActionBuilder
impl IotAnalyticsActionBuilder
sourcepub fn channel_arn(self, input: impl Into<String>) -> Self
pub fn channel_arn(self, input: impl Into<String>) -> Self
(deprecated) The ARN of the IoT Analytics channel to which message data will be sent.
sourcepub fn set_channel_arn(self, input: Option<String>) -> Self
pub fn set_channel_arn(self, input: Option<String>) -> Self
(deprecated) The ARN of the IoT Analytics channel to which message data will be sent.
sourcepub fn get_channel_arn(&self) -> &Option<String>
pub fn get_channel_arn(&self) -> &Option<String>
(deprecated) The ARN of the IoT Analytics channel to which message data will be sent.
sourcepub fn channel_name(self, input: impl Into<String>) -> Self
pub fn channel_name(self, input: impl Into<String>) -> Self
The name of the IoT Analytics channel to which message data will be sent.
sourcepub fn set_channel_name(self, input: Option<String>) -> Self
pub fn set_channel_name(self, input: Option<String>) -> Self
The name of the IoT Analytics channel to which message data will be sent.
sourcepub fn get_channel_name(&self) -> &Option<String>
pub fn get_channel_name(&self) -> &Option<String>
The name of the IoT Analytics channel to which message data will be sent.
sourcepub fn batch_mode(self, input: bool) -> Self
pub fn batch_mode(self, input: bool) -> Self
Whether to process the action as a batch. The default value is false
.
When batchMode
is true
and the rule SQL statement evaluates to an Array, each Array element is delivered as a separate message when passed by BatchPutMessage
to the IoT Analytics channel. The resulting array can't have more than 100 messages.
sourcepub fn set_batch_mode(self, input: Option<bool>) -> Self
pub fn set_batch_mode(self, input: Option<bool>) -> Self
Whether to process the action as a batch. The default value is false
.
When batchMode
is true
and the rule SQL statement evaluates to an Array, each Array element is delivered as a separate message when passed by BatchPutMessage
to the IoT Analytics channel. The resulting array can't have more than 100 messages.
sourcepub fn get_batch_mode(&self) -> &Option<bool>
pub fn get_batch_mode(&self) -> &Option<bool>
Whether to process the action as a batch. The default value is false
.
When batchMode
is true
and the rule SQL statement evaluates to an Array, each Array element is delivered as a separate message when passed by BatchPutMessage
to the IoT Analytics channel. The resulting array can't have more than 100 messages.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
sourcepub fn build(self) -> IotAnalyticsAction
pub fn build(self) -> IotAnalyticsAction
Consumes the builder and constructs a IotAnalyticsAction
.
Trait Implementations§
source§impl Clone for IotAnalyticsActionBuilder
impl Clone for IotAnalyticsActionBuilder
source§fn clone(&self) -> IotAnalyticsActionBuilder
fn clone(&self) -> IotAnalyticsActionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IotAnalyticsActionBuilder
impl Debug for IotAnalyticsActionBuilder
source§impl Default for IotAnalyticsActionBuilder
impl Default for IotAnalyticsActionBuilder
source§fn default() -> IotAnalyticsActionBuilder
fn default() -> IotAnalyticsActionBuilder
source§impl PartialEq for IotAnalyticsActionBuilder
impl PartialEq for IotAnalyticsActionBuilder
source§fn eq(&self, other: &IotAnalyticsActionBuilder) -> bool
fn eq(&self, other: &IotAnalyticsActionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.