@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IotEventsAction extends Object implements Serializable, Cloneable, StructuredPojo
Sends an input to an IoT Events detector.
Constructor and Description |
---|
IotEventsAction() |
Modifier and Type | Method and Description |
---|---|
IotEventsAction |
clone() |
boolean |
equals(Object obj) |
Boolean |
getBatchMode()
Whether to process the event actions as a batch.
|
String |
getInputName()
The name of the IoT Events input.
|
String |
getMessageId()
The ID of the message.
|
String |
getRoleArn()
The ARN of the role that grants IoT permission to send an input to an IoT Events detector.
|
int |
hashCode() |
Boolean |
isBatchMode()
Whether to process the event actions as a batch.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBatchMode(Boolean batchMode)
Whether to process the event actions as a batch.
|
void |
setInputName(String inputName)
The name of the IoT Events input.
|
void |
setMessageId(String messageId)
The ID of the message.
|
void |
setRoleArn(String roleArn)
The ARN of the role that grants IoT permission to send an input to an IoT Events detector.
|
String |
toString()
Returns a string representation of this object.
|
IotEventsAction |
withBatchMode(Boolean batchMode)
Whether to process the event actions as a batch.
|
IotEventsAction |
withInputName(String inputName)
The name of the IoT Events input.
|
IotEventsAction |
withMessageId(String messageId)
The ID of the message.
|
IotEventsAction |
withRoleArn(String roleArn)
The ARN of the role that grants IoT permission to send an input to an IoT Events detector.
|
public void setInputName(String inputName)
The name of the IoT Events input.
inputName
- The name of the IoT Events input.public String getInputName()
The name of the IoT Events input.
public IotEventsAction withInputName(String inputName)
The name of the IoT Events input.
inputName
- The name of the IoT Events input.public void setMessageId(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
- 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.
public String getMessageId()
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 IotEventsAction withMessageId(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
- 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.
public void setBatchMode(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.
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.
public Boolean getBatchMode()
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 IotEventsAction withBatchMode(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.
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.
public Boolean isBatchMode()
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 void setRoleArn(String roleArn)
The ARN of the role that grants IoT permission to send an input to an IoT Events detector. ("Action":"iotevents:BatchPutMessage").
roleArn
- The ARN of the role that grants IoT permission to send an input to an IoT Events detector.
("Action":"iotevents:BatchPutMessage").public String getRoleArn()
The ARN of the role that grants IoT permission to send an input to an IoT Events detector. ("Action":"iotevents:BatchPutMessage").
public IotEventsAction withRoleArn(String roleArn)
The ARN of the role that grants IoT permission to send an input to an IoT Events detector. ("Action":"iotevents:BatchPutMessage").
roleArn
- The ARN of the role that grants IoT permission to send an input to an IoT Events detector.
("Action":"iotevents:BatchPutMessage").public String toString()
toString
in class Object
Object.toString()
public IotEventsAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.