@Stability(value=Experimental) public static final class TopicRuleProps.Builder extends Object implements software.amazon.jsii.Builder<TopicRuleProps>
TopicRuleProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
TopicRuleProps.Builder |
actions(List<? extends IAction> actions)
Sets the value of
TopicRuleProps.getActions() |
TopicRuleProps |
build()
Builds the configured instance.
|
TopicRuleProps.Builder |
description(String description)
Sets the value of
TopicRuleProps.getDescription() |
TopicRuleProps.Builder |
enabled(Boolean enabled)
Sets the value of
TopicRuleProps.getEnabled() |
TopicRuleProps.Builder |
errorAction(IAction errorAction)
Sets the value of
TopicRuleProps.getErrorAction() |
TopicRuleProps.Builder |
sql(IotSql sql)
Sets the value of
TopicRuleProps.getSql() |
TopicRuleProps.Builder |
topicRuleName(String topicRuleName)
Sets the value of
TopicRuleProps.getTopicRuleName() |
@Stability(value=Experimental) public TopicRuleProps.Builder sql(IotSql sql)
TopicRuleProps.getSql()sql - A simplified SQL syntax to filter messages received on an MQTT topic and push the data elsewhere. This parameter is required.this@Stability(value=Experimental) public TopicRuleProps.Builder actions(List<? extends IAction> actions)
TopicRuleProps.getActions()actions - The actions associated with the topic rule.this@Stability(value=Experimental) public TopicRuleProps.Builder description(String description)
TopicRuleProps.getDescription()description - A textual description of the topic rule.this@Stability(value=Experimental) public TopicRuleProps.Builder enabled(Boolean enabled)
TopicRuleProps.getEnabled()enabled - Specifies whether the rule is enabled.this@Stability(value=Experimental) public TopicRuleProps.Builder errorAction(IAction errorAction)
TopicRuleProps.getErrorAction()errorAction - The action AWS IoT performs when it is unable to perform a rule's action.this@Stability(value=Experimental) public TopicRuleProps.Builder topicRuleName(String topicRuleName)
TopicRuleProps.getTopicRuleName()topicRuleName - The name of the topic rule.this@Stability(value=Experimental) public TopicRuleProps build()
build in interface software.amazon.jsii.Builder<TopicRuleProps>TopicRulePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.