public static interface TopicRulePayload.Builder extends SdkPojo, CopyableBuilder<TopicRulePayload.Builder,TopicRulePayload>
| Modifier and Type | Method and Description |
|---|---|
TopicRulePayload.Builder |
actions(Action... actions)
The actions associated with the rule.
|
TopicRulePayload.Builder |
actions(Collection<Action> actions)
The actions associated with the rule.
|
TopicRulePayload.Builder |
actions(Consumer<Action.Builder>... actions)
The actions associated with the rule.
|
TopicRulePayload.Builder |
awsIotSqlVersion(String awsIotSqlVersion)
The version of the SQL rules engine to use when evaluating the rule.
|
TopicRulePayload.Builder |
description(String description)
The description of the rule.
|
TopicRulePayload.Builder |
errorAction(Action errorAction)
The action to take when an error occurs.
|
default TopicRulePayload.Builder |
errorAction(Consumer<Action.Builder> errorAction)
The action to take when an error occurs.
|
TopicRulePayload.Builder |
ruleDisabled(Boolean ruleDisabled)
Specifies whether the rule is disabled.
|
TopicRulePayload.Builder |
sql(String sql)
The SQL statement used to query the topic.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTopicRulePayload.Builder sql(String sql)
The SQL statement used to query the topic. For more information, see IoT SQL Reference in the IoT Developer Guide.
sql - The SQL statement used to query the topic. For more information, see IoT SQL
Reference in the IoT Developer Guide.TopicRulePayload.Builder description(String description)
The description of the rule.
description - The description of the rule.TopicRulePayload.Builder actions(Collection<Action> actions)
The actions associated with the rule.
actions - The actions associated with the rule.TopicRulePayload.Builder actions(Action... actions)
The actions associated with the rule.
actions - The actions associated with the rule.TopicRulePayload.Builder actions(Consumer<Action.Builder>... actions)
The actions associated with the rule.
This is a convenience method that creates an instance of theAction.Builder avoiding the need to create one manually via
Action.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #actions(List.
actions - a consumer that will call methods on Action.Builder#actions(java.util.Collection) TopicRulePayload.Builder ruleDisabled(Boolean ruleDisabled)
Specifies whether the rule is disabled.
ruleDisabled - Specifies whether the rule is disabled.TopicRulePayload.Builder awsIotSqlVersion(String awsIotSqlVersion)
The version of the SQL rules engine to use when evaluating the rule.
awsIotSqlVersion - The version of the SQL rules engine to use when evaluating the rule.TopicRulePayload.Builder errorAction(Action errorAction)
The action to take when an error occurs.
errorAction - The action to take when an error occurs.default TopicRulePayload.Builder errorAction(Consumer<Action.Builder> errorAction)
The action to take when an error occurs.
This is a convenience method that creates an instance of theAction.Builder avoiding the need to
create one manually via Action.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to errorAction(Action).
errorAction - a consumer that will call methods on Action.BuildererrorAction(Action)Copyright © 2022. All rights reserved.