@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IotAnalyticsAction extends Object implements Serializable, Cloneable, StructuredPojo
Sends message data to an IoT Analytics channel.
Constructor and Description |
---|
IotAnalyticsAction() |
Modifier and Type | Method and Description |
---|---|
IotAnalyticsAction |
clone() |
boolean |
equals(Object obj) |
Boolean |
getBatchMode()
Whether to process the action as a batch.
|
String |
getChannelArn()
(deprecated) The ARN of the IoT Analytics channel to which message data will be sent.
|
String |
getChannelName()
The name of the IoT Analytics channel to which message data will be sent.
|
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() |
Boolean |
isBatchMode()
Whether to process the action as a batch.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBatchMode(Boolean batchMode)
Whether to process the action as a batch.
|
void |
setChannelArn(String channelArn)
(deprecated) The ARN of the IoT Analytics channel to which message data will be sent.
|
void |
setChannelName(String channelName)
The name of the IoT Analytics channel to which message data will be sent.
|
void |
setRoleArn(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).
|
String |
toString()
Returns a string representation of this object.
|
IotAnalyticsAction |
withBatchMode(Boolean batchMode)
Whether to process the action as a batch.
|
IotAnalyticsAction |
withChannelArn(String channelArn)
(deprecated) The ARN of the IoT Analytics channel to which message data will be sent.
|
IotAnalyticsAction |
withChannelName(String channelName)
The name of the IoT Analytics channel to which message data will be sent.
|
IotAnalyticsAction |
withRoleArn(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 void setChannelArn(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 String getChannelArn()
(deprecated) The ARN of the IoT Analytics channel to which message data will be sent.
public IotAnalyticsAction withChannelArn(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 void setChannelName(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 String getChannelName()
The name of the IoT Analytics channel to which message data will be sent.
public IotAnalyticsAction withChannelName(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 void setBatchMode(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 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 IoT Analytics channel. The resulting array can't have more than
100 messages.
public 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 IoT Analytics channel. The resulting array can't have more than 100
messages.
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 IoT Analytics channel. The resulting array can't have more than
100 messages.
public IotAnalyticsAction withBatchMode(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 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 IoT Analytics channel. The resulting array can't have more than
100 messages.
public 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 IoT Analytics channel. The resulting array can't have more than 100
messages.
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 IoT Analytics channel. The resulting array can't have more than
100 messages.
public void setRoleArn(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 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).
public IotAnalyticsAction withRoleArn(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 String toString()
toString
in class Object
Object.toString()
public IotAnalyticsAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.