public class TopicRulePayload extends Object implements Serializable
Describes a rule.
| Constructor and Description |
|---|
TopicRulePayload() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<Action> |
getActions()
The actions associated with the rule.
|
String |
getDescription()
The description of the rule.
|
Boolean |
getRuleDisabled()
Specifies whether the rule is disabled.
|
String |
getSql()
The SQL statement used to query the topic.
|
int |
hashCode() |
Boolean |
isRuleDisabled()
Specifies whether the rule is disabled.
|
void |
setActions(Collection<Action> actions)
The actions associated with the rule.
|
void |
setDescription(String description)
The description of the rule.
|
void |
setRuleDisabled(Boolean ruleDisabled)
Specifies whether the rule is disabled.
|
void |
setSql(String sql)
The SQL statement used to query the topic.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TopicRulePayload |
withActions(Action... actions)
The actions associated with the rule.
|
TopicRulePayload |
withActions(Collection<Action> actions)
The actions associated with the rule.
|
TopicRulePayload |
withDescription(String description)
The description of the rule.
|
TopicRulePayload |
withRuleDisabled(Boolean ruleDisabled)
Specifies whether the rule is disabled.
|
TopicRulePayload |
withSql(String sql)
The SQL statement used to query the topic.
|
public String getSql()
public void setSql(String sql)
sql - The SQL statement used to query the topic. For more information, see
AWS
IoT SQL Reference in the AWS IoT Developer Guide.public TopicRulePayload withSql(String sql)
Returns a reference to this object so that method calls can be chained together.
sql - The SQL statement used to query the topic. For more information, see
AWS
IoT SQL Reference in the AWS IoT Developer Guide.public String getDescription()
public void setDescription(String description)
description - The description of the rule.public TopicRulePayload withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description - The description of the rule.public List<Action> getActions()
Constraints:
Length: 0 - 10
public void setActions(Collection<Action> actions)
Constraints:
Length: 0 - 10
actions - The actions associated with the rule.public TopicRulePayload withActions(Action... actions)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 10
actions - The actions associated with the rule.public TopicRulePayload withActions(Collection<Action> actions)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 10
actions - The actions associated with the rule.public Boolean isRuleDisabled()
public void setRuleDisabled(Boolean ruleDisabled)
ruleDisabled - Specifies whether the rule is disabled.public TopicRulePayload withRuleDisabled(Boolean ruleDisabled)
Returns a reference to this object so that method calls can be chained together.
ruleDisabled - Specifies whether the rule is disabled.public Boolean getRuleDisabled()
public String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.