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 TopicRuleListItemclone()booleanequals(Object obj)DategetCreatedAt()The date and time the rule was created.StringgetRuleArn()The rule ARN.BooleangetRuleDisabled()Specifies whether the rule is disabled.StringgetRuleName()The name of the rule.StringgetTopicPattern()The pattern for the topic names that apply.inthashCode()BooleanisRuleDisabled()Specifies whether the rule is disabled.voidsetCreatedAt(Date createdAt)The date and time the rule was created.voidsetRuleArn(String ruleArn)The rule ARN.voidsetRuleDisabled(Boolean ruleDisabled)Specifies whether the rule is disabled.voidsetRuleName(String ruleName)The name of the rule.voidsetTopicPattern(String topicPattern)The pattern for the topic names that apply.StringtoString()Returns a string representation of this object; useful for testing and debugging.TopicRuleListItemwithCreatedAt(Date createdAt)The date and time the rule was created.TopicRuleListItemwithRuleArn(String ruleArn)The rule ARN.TopicRuleListItemwithRuleDisabled(Boolean ruleDisabled)Specifies whether the rule is disabled.TopicRuleListItemwithRuleName(String ruleName)The name of the rule.TopicRuleListItemwithTopicPattern(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TopicRuleListItem clone()
-
-