public class TopicRuleListItem
extends java.lang.Object
implements java.io.Serializable
Describes a rule.
Constructor and Description |
---|
TopicRuleListItem() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.lang.String getRuleArn()
The rule ARN.
The rule ARN.
public void setRuleArn(java.lang.String ruleArn)
The rule ARN.
ruleArn
- The rule ARN.
public TopicRuleListItem withRuleArn(java.lang.String ruleArn)
The rule ARN.
Returns a reference to this object so that method calls can be chained together.
ruleArn
- The rule ARN.
public java.lang.String getRuleName()
The name of the rule.
Constraints:
Length: 1 - 128
Pattern: ^[a-zA-Z0-9_]+$
The name of the rule.
public void setRuleName(java.lang.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(java.lang.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 java.lang.String getTopicPattern()
The pattern for the topic names that apply.
The pattern for the topic names that apply.
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 TopicRuleListItem withTopicPattern(java.lang.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 java.util.Date getCreatedAt()
The date and time the rule was created.
The date and time the rule was created.
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 TopicRuleListItem withCreatedAt(java.util.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 java.lang.Boolean isRuleDisabled()
Specifies whether the rule is disabled.
Specifies whether the rule is disabled.
public java.lang.Boolean getRuleDisabled()
Specifies whether the rule is disabled.
Specifies whether the rule is disabled.
public void setRuleDisabled(java.lang.Boolean ruleDisabled)
Specifies whether the rule is disabled.
ruleDisabled
- Specifies whether the rule is disabled.
public TopicRuleListItem withRuleDisabled(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.