@Stability(value=Experimental) public static final class IotEventsPutMessageActionProps.Builder extends Object implements software.amazon.jsii.Builder<IotEventsPutMessageActionProps>
IotEventsPutMessageActionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
IotEventsPutMessageActionProps.Builder |
batchMode(Boolean batchMode)
Sets the value of
IotEventsPutMessageActionProps.getBatchMode() |
IotEventsPutMessageActionProps |
build()
Builds the configured instance.
|
IotEventsPutMessageActionProps.Builder |
messageId(String messageId)
Sets the value of
IotEventsPutMessageActionProps.getMessageId() |
IotEventsPutMessageActionProps.Builder |
role(IRole role)
Sets the value of
CommonActionProps.getRole() |
@Stability(value=Experimental) public IotEventsPutMessageActionProps.Builder batchMode(Boolean batchMode)
IotEventsPutMessageActionProps.getBatchMode()batchMode - Whether to process the event actions as a batch.
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 Events by calling BatchPutMessage. The resulting array can't have more than 10 messages.
this@Stability(value=Experimental) public IotEventsPutMessageActionProps.Builder messageId(String messageId)
IotEventsPutMessageActionProps.getMessageId()messageId - The ID of the message.
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.this@Stability(value=Experimental) public IotEventsPutMessageActionProps.Builder role(IRole role)
CommonActionProps.getRole()role - The IAM role that allows access to AWS service.this@Stability(value=Experimental) public IotEventsPutMessageActionProps build()
build in interface software.amazon.jsii.Builder<IotEventsPutMessageActionProps>IotEventsPutMessageActionPropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.