public class IotAnalyticsAction
extends java.lang.Object
implements java.io.Serializable
Sends message data to an AWS IoT Analytics channel.
| Constructor and Description |
|---|
IotAnalyticsAction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getBatchMode()
Whether to process the action as a batch.
|
java.lang.String |
getChannelArn()
(deprecated) The ARN of the IoT Analytics channel to which message data
will be sent.
|
java.lang.String |
getChannelName()
The name of the IoT Analytics channel to which message data will be sent.
|
java.lang.String |
getRoleArn()
The ARN of the role which has a policy that grants IoT Analytics
permission to send message data via IoT Analytics
(iotanalytics:BatchPutMessage).
|
int |
hashCode() |
java.lang.Boolean |
isBatchMode()
Whether to process the action as a batch.
|
void |
setBatchMode(java.lang.Boolean batchMode)
Whether to process the action as a batch.
|
void |
setChannelArn(java.lang.String channelArn)
(deprecated) The ARN of the IoT Analytics channel to which message data
will be sent.
|
void |
setChannelName(java.lang.String channelName)
The name of the IoT Analytics channel to which message data will be sent.
|
void |
setRoleArn(java.lang.String roleArn)
The ARN of the role which has a policy that grants IoT Analytics
permission to send message data via IoT Analytics
(iotanalytics:BatchPutMessage).
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
IotAnalyticsAction |
withBatchMode(java.lang.Boolean batchMode)
Whether to process the action as a batch.
|
IotAnalyticsAction |
withChannelArn(java.lang.String channelArn)
(deprecated) The ARN of the IoT Analytics channel to which message data
will be sent.
|
IotAnalyticsAction |
withChannelName(java.lang.String channelName)
The name of the IoT Analytics channel to which message data will be sent.
|
IotAnalyticsAction |
withRoleArn(java.lang.String roleArn)
The ARN of the role which has a policy that grants IoT Analytics
permission to send message data via IoT Analytics
(iotanalytics:BatchPutMessage).
|
public java.lang.String getChannelArn()
(deprecated) The ARN of the IoT Analytics channel to which message data will be sent.
(deprecated) The ARN of the IoT Analytics channel to which message data will be sent.
public void setChannelArn(java.lang.String channelArn)
(deprecated) The ARN of the IoT Analytics channel to which message data will be sent.
channelArn - (deprecated) The ARN of the IoT Analytics channel to which message data will be sent.
public IotAnalyticsAction withChannelArn(java.lang.String channelArn)
(deprecated) The ARN of the IoT Analytics channel to which message data will be sent.
Returns a reference to this object so that method calls can be chained together.
channelArn - (deprecated) The ARN of the IoT Analytics channel to which message data will be sent.
public java.lang.String getChannelName()
The name of the IoT Analytics channel to which message data will be sent.
The name of the IoT Analytics channel to which message data will be sent.
public void setChannelName(java.lang.String channelName)
The name of the IoT Analytics channel to which message data will be sent.
channelName - The name of the IoT Analytics channel to which message data will be sent.
public IotAnalyticsAction withChannelName(java.lang.String channelName)
The name of the IoT Analytics channel to which message data will be sent.
Returns a reference to this object so that method calls can be chained together.
channelName - The name of the IoT Analytics channel to which message data will be sent.
public java.lang.Boolean isBatchMode()
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 AWS IoT Analytics channel. The
resulting array can't have more than 100 messages.
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 AWS IoT Analytics
channel. The resulting array can't have more than 100 messages.
public java.lang.Boolean getBatchMode()
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 AWS IoT Analytics channel. The
resulting array can't have more than 100 messages.
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 AWS IoT Analytics
channel. The resulting array can't have more than 100 messages.
public void setBatchMode(java.lang.Boolean batchMode)
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 AWS IoT Analytics channel. The
resulting array can't have more than 100 messages.
batchMode -
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 AWS IoT Analytics
channel. The resulting array can't have more than 100
messages.
public IotAnalyticsAction withBatchMode(java.lang.Boolean batchMode)
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 AWS IoT Analytics channel. The
resulting array can't have more than 100 messages.
Returns a reference to this object so that method calls can be chained together.
batchMode -
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 AWS IoT Analytics
channel. The resulting array can't have more than 100
messages.
public java.lang.String getRoleArn()
The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
public void setRoleArn(java.lang.String roleArn)
The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
roleArn - The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
public IotAnalyticsAction withRoleArn(java.lang.String roleArn)
The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
Returns a reference to this object so that method calls can be chained together.
roleArn - The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.