CopyableBuilder<TopicRulePayload.Builder,TopicRulePayload>
, SdkBuilder<TopicRulePayload.Builder,TopicRulePayload>
public static interface TopicRulePayload.Builder extends CopyableBuilder<TopicRulePayload.Builder,TopicRulePayload>
Modifier and Type | Method | Description |
---|---|---|
TopicRulePayload.Builder |
actions(Collection<Action> actions) |
The actions associated with the rule.
|
TopicRulePayload.Builder |
actions(Action... 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 |
ruleDisabled(Boolean ruleDisabled) |
Specifies whether the rule is disabled.
|
TopicRulePayload.Builder |
sql(String sql) |
The SQL statement used to query the topic.
|
copy
apply, build
TopicRulePayload.Builder sql(String sql)
The SQL statement used to query the topic. For more information, see AWS IoT SQL Reference in the AWS IoT Developer Guide.
sql
- The SQL statement used to query the topic. For more information, see AWS
IoT SQL Reference in the AWS 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.
NOTE: This method appends the values to the existing list (if any). Use
#setActions(java.util.Collection)
or #withActions(java.util.Collection)
if you want to
override the existing values.
actions
- The actions associated with the rule.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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.