Class TopicRuleListItem

java.lang.Object
com.amazonaws.services.iot.model.TopicRuleListItem
All Implemented Interfaces:
Serializable, Cloneable

public class TopicRuleListItem extends Object implements Serializable, Cloneable

Describes a rule.

See Also:
  • Constructor Details

    • TopicRuleListItem

      public TopicRuleListItem()
  • Method Details

    • setRuleArn

      public void setRuleArn(String ruleArn)

      The rule ARN.

      Parameters:
      ruleArn - The rule ARN.
    • getRuleArn

      public String getRuleArn()

      The rule ARN.

      Returns:
      The rule ARN.
    • withRuleArn

      public TopicRuleListItem withRuleArn(String ruleArn)

      The rule ARN.

      Parameters:
      ruleArn - The rule ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setRuleName

      public void setRuleName(String ruleName)

      The name of the rule.

      Parameters:
      ruleName - The name of the rule.
    • getRuleName

      public String getRuleName()

      The name of the rule.

      Returns:
      The name of the rule.
    • withRuleName

      public TopicRuleListItem withRuleName(String ruleName)

      The name of the rule.

      Parameters:
      ruleName - The name of the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTopicPattern

      public void setTopicPattern(String topicPattern)

      The pattern for the topic names that apply.

      Parameters:
      topicPattern - The pattern for the topic names that apply.
    • getTopicPattern

      public String getTopicPattern()

      The pattern for the topic names that apply.

      Returns:
      The pattern for the topic names that apply.
    • withTopicPattern

      public TopicRuleListItem withTopicPattern(String topicPattern)

      The pattern for the topic names that apply.

      Parameters:
      topicPattern - The pattern for the topic names that apply.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCreatedAt

      public void setCreatedAt(Date createdAt)

      The date and time the rule was created.

      Parameters:
      createdAt - The date and time the rule was created.
    • getCreatedAt

      public Date getCreatedAt()

      The date and time the rule was created.

      Returns:
      The date and time the rule was created.
    • withCreatedAt

      public TopicRuleListItem withCreatedAt(Date createdAt)

      The date and time the rule was created.

      Parameters:
      createdAt - The date and time the rule was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setRuleDisabled

      public void setRuleDisabled(Boolean ruleDisabled)

      Specifies whether the rule is disabled.

      Parameters:
      ruleDisabled - Specifies whether the rule is disabled.
    • getRuleDisabled

      public Boolean getRuleDisabled()

      Specifies whether the rule is disabled.

      Returns:
      Specifies whether the rule is disabled.
    • withRuleDisabled

      public TopicRuleListItem withRuleDisabled(Boolean ruleDisabled)

      Specifies whether the rule is disabled.

      Parameters:
      ruleDisabled - Specifies whether the rule is disabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isRuleDisabled

      public Boolean isRuleDisabled()

      Specifies whether the rule is disabled.

      Returns:
      Specifies whether the rule is disabled.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public TopicRuleListItem clone()
      Overrides:
      clone in class Object