Package com.amazonaws.services.iot.model
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TopicRuleListItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TopicRuleListItem
clone()
boolean
equals(Object obj)
Date
getCreatedAt()
The date and time the rule was created.String
getRuleArn()
The rule ARN.Boolean
getRuleDisabled()
Specifies whether the rule is disabled.String
getRuleName()
The name of the rule.String
getTopicPattern()
The pattern for the topic names that apply.int
hashCode()
Boolean
isRuleDisabled()
Specifies whether the rule is disabled.void
setCreatedAt(Date createdAt)
The date and time the rule was created.void
setRuleArn(String ruleArn)
The rule ARN.void
setRuleDisabled(Boolean ruleDisabled)
Specifies whether the rule is disabled.void
setRuleName(String ruleName)
The name of the rule.void
setTopicPattern(String topicPattern)
The pattern for the topic names that apply.String
toString()
Returns a string representation of this object; useful for testing and debugging.TopicRuleListItem
withCreatedAt(Date createdAt)
The date and time the rule was created.TopicRuleListItem
withRuleArn(String ruleArn)
The rule ARN.TopicRuleListItem
withRuleDisabled(Boolean ruleDisabled)
Specifies whether the rule is disabled.TopicRuleListItem
withRuleName(String ruleName)
The name of the rule.TopicRuleListItem
withTopicPattern(String topicPattern)
The pattern for the topic names that apply.
-
-
-
Method Detail
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TopicRuleListItem clone()
-
-