public class TopicRuleListItem extends Object implements Serializable
Describes a rule.
| Constructor and Description |
|---|
TopicRuleListItem() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public String getRuleArn()
public void setRuleArn(String ruleArn)
ruleArn - The rule ARN.public TopicRuleListItem withRuleArn(String ruleArn)
Returns a reference to this object so that method calls can be chained together.
ruleArn - The rule ARN.public String getRuleName()
Constraints:
Length: 1 - 128
Pattern: ^[a-zA-Z0-9_]+$
public void setRuleName(String ruleName)
Constraints:
Length: 1 - 128
Pattern: ^[a-zA-Z0-9_]+$
ruleName - The name of the rule.public TopicRuleListItem withRuleName(String ruleName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: ^[a-zA-Z0-9_]+$
ruleName - The name of the rule.public String getTopicPattern()
public void setTopicPattern(String topicPattern)
topicPattern - The pattern for the topic names that apply.public TopicRuleListItem withTopicPattern(String topicPattern)
Returns a reference to this object so that method calls can be chained together.
topicPattern - The pattern for the topic names that apply.public Date getCreatedAt()
public void setCreatedAt(Date createdAt)
createdAt - The date and time the rule was created.public TopicRuleListItem withCreatedAt(Date createdAt)
Returns a reference to this object so that method calls can be chained together.
createdAt - The date and time the rule was created.public Boolean isRuleDisabled()
public void setRuleDisabled(Boolean ruleDisabled)
ruleDisabled - Specifies whether the rule is disabled.public TopicRuleListItem 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.