@Generated(value="software.amazon.awssdk:codegen") public final class IotEventsAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IotEventsAction.Builder,IotEventsAction>
Sends an input to an IoT Events detector.
| Modifier and Type | Class and Description |
|---|---|
static interface |
IotEventsAction.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
batchMode()
Whether to process the event actions as a batch.
|
static IotEventsAction.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
inputName()
The name of the IoT Events input.
|
String |
messageId()
The ID of the message.
|
String |
roleArn()
The ARN of the role that grants IoT permission to send an input to an IoT Events detector.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends IotEventsAction.Builder> |
serializableBuilderClass() |
IotEventsAction.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String inputName()
The name of the IoT Events input.
public final String messageId()
The ID of the message. The default messageId is a new UUID value.
When batchMode is true, you can't specify a messageId--a new UUID value
will be assigned.
Assign a value to this property to ensure that only one input (message) with a given messageId will
be processed by an IoT Events detector.
messageId is a new UUID value.
When batchMode is true, you can't specify a messageId--a new UUID
value will be assigned.
Assign a value to this property to ensure that only one input (message) with a given
messageId will be processed by an IoT Events detector.
public final Boolean batchMode()
Whether to process the event actions as a batch. The default value is false.
When batchMode is true, you can't specify a messageId.
When batchMode is true and the rule SQL statement evaluates to an Array, each Array
element is treated as a separate message when it's sent to IoT Events by calling
BatchPutMessage . The resulting array can't have more than 10 messages.
false.
When batchMode is true, you can't specify a messageId.
When batchMode is true and the rule SQL statement evaluates to an Array, each
Array element is treated as a separate message when it's sent to IoT Events by calling
BatchPutMessage . The resulting array can't have more than 10 messages.
public final String roleArn()
The ARN of the role that grants IoT permission to send an input to an IoT Events detector. ("Action":"iotevents:BatchPutMessage").
public IotEventsAction.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<IotEventsAction.Builder,IotEventsAction>public static IotEventsAction.Builder builder()
public static Class<? extends IotEventsAction.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.