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()
The rule ARN.
The rule ARN.
public void setRuleArn(String ruleArn)
The rule ARN.
ruleArn - The rule ARN.
public TopicRuleListItem withRuleArn(String ruleArn)
The rule ARN.
Returns a reference to this object so that method calls can be chained together.
ruleArn - The rule ARN.
public String getRuleName()
The name of the rule.
Constraints:
Length: 1 - 128
Pattern: ^[a-zA-Z0-9_]+$
The name of the rule.
public void setRuleName(String ruleName)
The name of the rule.
Constraints:
Length: 1 - 128
Pattern: ^[a-zA-Z0-9_]+$
ruleName - The name of the rule.
public TopicRuleListItem withRuleName(String ruleName)
The name of the rule.
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()
The pattern for the topic names that apply.
The pattern for the topic names that apply.
public void setTopicPattern(String topicPattern)
The pattern for the topic names that apply.
topicPattern - The pattern for the topic names that apply.
public TopicRuleListItem withTopicPattern(String topicPattern)
The pattern for the topic names that apply.
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()
The date and time the rule was created.
The date and time the rule was created.
public void setCreatedAt(Date createdAt)
The date and time the rule was created.
createdAt - The date and time the rule was created.
public TopicRuleListItem withCreatedAt(Date createdAt)
The date and time the rule was created.
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()
Specifies whether the rule is disabled.
Specifies whether the rule is disabled.
public Boolean getRuleDisabled()
Specifies whether the rule is disabled.
Specifies whether the rule is disabled.
public void setRuleDisabled(Boolean ruleDisabled)
Specifies whether the rule is disabled.
ruleDisabled - Specifies whether the rule is disabled.
public TopicRuleListItem withRuleDisabled(Boolean ruleDisabled)
Specifies whether the rule is disabled.
Returns a reference to this object so that method calls can be chained together.
ruleDisabled - Specifies whether the rule is disabled.
public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.