public class TopicRuleListItem
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a rule.
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
createdAt
The date and time the rule was created.
|
private java.lang.String |
ruleArn
The rule ARN.
|
private java.lang.Boolean |
ruleDisabled
Specifies whether the rule is disabled.
|
private java.lang.String |
ruleName
The name of the rule.
|
private java.lang.String |
topicPattern
The pattern for the topic names that apply.
|
Constructor and Description |
---|
TopicRuleListItem() |
Modifier and Type | Method and Description |
---|---|
TopicRuleListItem |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreatedAt()
The date and time the rule was created.
|
java.lang.String |
getRuleArn()
The rule ARN.
|
java.lang.Boolean |
getRuleDisabled()
Specifies whether the rule is disabled.
|
java.lang.String |
getRuleName()
The name of the rule.
|
java.lang.String |
getTopicPattern()
The pattern for the topic names that apply.
|
int |
hashCode() |
java.lang.Boolean |
isRuleDisabled()
Specifies whether the rule is disabled.
|
void |
setCreatedAt(java.util.Date createdAt)
The date and time the rule was created.
|
void |
setRuleArn(java.lang.String ruleArn)
The rule ARN.
|
void |
setRuleDisabled(java.lang.Boolean ruleDisabled)
Specifies whether the rule is disabled.
|
void |
setRuleName(java.lang.String ruleName)
The name of the rule.
|
void |
setTopicPattern(java.lang.String topicPattern)
The pattern for the topic names that apply.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TopicRuleListItem |
withCreatedAt(java.util.Date createdAt)
The date and time the rule was created.
|
TopicRuleListItem |
withRuleArn(java.lang.String ruleArn)
The rule ARN.
|
TopicRuleListItem |
withRuleDisabled(java.lang.Boolean ruleDisabled)
Specifies whether the rule is disabled.
|
TopicRuleListItem |
withRuleName(java.lang.String ruleName)
The name of the rule.
|
TopicRuleListItem |
withTopicPattern(java.lang.String topicPattern)
The pattern for the topic names that apply.
|
private java.lang.String ruleArn
The rule ARN.
private java.lang.String ruleName
The name of the rule.
private java.lang.String topicPattern
The pattern for the topic names that apply.
private java.util.Date createdAt
The date and time the rule was created.
private java.lang.Boolean ruleDisabled
Specifies whether the rule is disabled.
public void setRuleArn(java.lang.String ruleArn)
The rule ARN.
ruleArn
- The rule ARN.public java.lang.String getRuleArn()
The rule ARN.
public TopicRuleListItem withRuleArn(java.lang.String ruleArn)
The rule ARN.
ruleArn
- The rule ARN.public void setRuleName(java.lang.String ruleName)
The name of the rule.
ruleName
- The name of the rule.public java.lang.String getRuleName()
The name of the rule.
public TopicRuleListItem withRuleName(java.lang.String ruleName)
The name of the rule.
ruleName
- The name of the rule.public void setTopicPattern(java.lang.String topicPattern)
The pattern for the topic names that apply.
topicPattern
- The pattern for the topic names that apply.public java.lang.String getTopicPattern()
The pattern for the topic names that apply.
public TopicRuleListItem withTopicPattern(java.lang.String topicPattern)
The pattern for the topic names that apply.
topicPattern
- The pattern for the topic names that apply.public void setCreatedAt(java.util.Date createdAt)
The date and time the rule was created.
createdAt
- The date and time the rule was created.public java.util.Date getCreatedAt()
The date and time the rule was created.
public TopicRuleListItem withCreatedAt(java.util.Date createdAt)
The date and time the rule was created.
createdAt
- The date and time the rule was created.public void setRuleDisabled(java.lang.Boolean ruleDisabled)
Specifies whether the rule is disabled.
ruleDisabled
- Specifies whether the rule is disabled.public java.lang.Boolean getRuleDisabled()
Specifies whether the rule is disabled.
public TopicRuleListItem withRuleDisabled(java.lang.Boolean ruleDisabled)
Specifies whether the rule is disabled.
ruleDisabled
- Specifies whether the rule is disabled.public java.lang.Boolean isRuleDisabled()
Specifies whether the rule is disabled.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public TopicRuleListItem clone()
clone
in class java.lang.Object