public class IotEventsAction
extends java.lang.Object
implements java.io.Serializable
Sends an input to an AWS IoT Events detector.
Constructor and Description |
---|
IotEventsAction() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getBatchMode()
Whether to process the event actions as a batch.
|
java.lang.String |
getInputName()
The name of the AWS IoT Events input.
|
java.lang.String |
getMessageId()
The ID of the message.
|
java.lang.String |
getRoleArn()
The ARN of the role that grants AWS IoT permission to send an input to an
AWS IoT Events detector.
|
int |
hashCode() |
java.lang.Boolean |
isBatchMode()
Whether to process the event actions as a batch.
|
void |
setBatchMode(java.lang.Boolean batchMode)
Whether to process the event actions as a batch.
|
void |
setInputName(java.lang.String inputName)
The name of the AWS IoT Events input.
|
void |
setMessageId(java.lang.String messageId)
The ID of the message.
|
void |
setRoleArn(java.lang.String roleArn)
The ARN of the role that grants AWS IoT permission to send an input to an
AWS IoT Events detector.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
IotEventsAction |
withBatchMode(java.lang.Boolean batchMode)
Whether to process the event actions as a batch.
|
IotEventsAction |
withInputName(java.lang.String inputName)
The name of the AWS IoT Events input.
|
IotEventsAction |
withMessageId(java.lang.String messageId)
The ID of the message.
|
IotEventsAction |
withRoleArn(java.lang.String roleArn)
The ARN of the role that grants AWS IoT permission to send an input to an
AWS IoT Events detector.
|
public java.lang.String getInputName()
The name of the AWS IoT Events input.
Constraints:
Length: 1 - 128
The name of the AWS IoT Events input.
public void setInputName(java.lang.String inputName)
The name of the AWS IoT Events input.
Constraints:
Length: 1 - 128
inputName
- The name of the AWS IoT Events input.
public IotEventsAction withInputName(java.lang.String inputName)
The name of the AWS IoT Events input.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
inputName
- The name of the AWS IoT Events input.
public java.lang.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 AWS IoT
Events detector.
Constraints:
Length: - 128
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 AWS IoT Events detector.
public void setMessageId(java.lang.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 AWS IoT
Events detector.
Constraints:
Length: - 128
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 AWS IoT Events detector.
public IotEventsAction withMessageId(java.lang.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 AWS IoT
Events detector.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 128
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 AWS IoT Events detector.
public java.lang.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 AWS IoT Events by calling BatchPutMessage
. The resulting array can't have more
than 10 messages.
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 AWS IoT Events by calling BatchPutMessage
. The resulting array can't
have more than 10 messages.
public java.lang.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 AWS IoT Events by calling BatchPutMessage
. The resulting array can't have more
than 10 messages.
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 AWS IoT Events by calling BatchPutMessage
. The resulting array can't
have more than 10 messages.
public void setBatchMode(java.lang.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 AWS 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 AWS IoT Events
by calling BatchPutMessage
. The resulting array can't
have more than 10 messages.
public IotEventsAction withBatchMode(java.lang.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 AWS IoT Events by calling BatchPutMessage
. The resulting array can't have more
than 10 messages.
Returns a reference to this object so that method calls can be chained together.
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 AWS IoT Events
by calling BatchPutMessage
. The resulting array can't
have more than 10 messages.
public java.lang.String getRoleArn()
The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector. ("Action":"iotevents:BatchPutMessage").
The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector. ("Action":"iotevents:BatchPutMessage").
public void setRoleArn(java.lang.String roleArn)
The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector. ("Action":"iotevents:BatchPutMessage").
roleArn
- The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector. ("Action":"iotevents:BatchPutMessage").
public IotEventsAction withRoleArn(java.lang.String roleArn)
The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector. ("Action":"iotevents:BatchPutMessage").
Returns a reference to this object so that method calls can be chained together.
roleArn
- The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector. ("Action":"iotevents:BatchPutMessage").
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.