Class IotEventsAction
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.IotEventsAction
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IotEventsAction.Builder,IotEventsAction>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIotEventsAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanbatchMode()Whether to process the event actions as a batch.static IotEventsAction.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinputName()The name of the IoT Events input.StringmessageId()The ID of the message.StringroleArn()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.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
inputName
public final String inputName()
The name of the IoT Events input.
- Returns:
- The name of the IoT Events input.
-
messageId
public final String messageId()
The ID of the message. The default
messageIdis a new UUID value.When
batchModeistrue, you can't specify amessageId--a new UUID value will be assigned.Assign a value to this property to ensure that only one input (message) with a given
messageIdwill be processed by an IoT Events detector.- Returns:
- The ID of the message. The default
messageIdis a new UUID value.When
batchModeistrue, you can't specify amessageId--a new UUID value will be assigned.Assign a value to this property to ensure that only one input (message) with a given
messageIdwill be processed by an IoT Events detector.
-
batchMode
public final Boolean batchMode()
Whether to process the event actions as a batch. The default value is
false.When
batchModeistrue, you can't specify amessageId.When
batchModeistrueand 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 callingBatchPutMessage. The resulting array can't have more than 10 messages.- Returns:
- Whether to process the event actions as a batch. The default value is
false.When
batchModeistrue, you can't specify amessageId.When
batchModeistrueand 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 callingBatchPutMessage. The resulting array can't have more than 10 messages.
-
roleArn
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").
- Returns:
- The ARN of the role that grants IoT permission to send an input to an IoT Events detector. ("Action":"iotevents:BatchPutMessage").
-
toBuilder
public IotEventsAction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<IotEventsAction.Builder,IotEventsAction>
-
builder
public static IotEventsAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends IotEventsAction.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-