@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TopicRuleListItem extends Object implements Serializable, Cloneable, StructuredPojo
Describes a rule.
Constructor and Description |
---|
TopicRuleListItem() |
Modifier and Type | Method and Description |
---|---|
TopicRuleListItem |
clone() |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 void setRuleArn(String ruleArn)
The rule ARN.
ruleArn
- The rule ARN.public String getRuleArn()
The rule ARN.
public TopicRuleListItem withRuleArn(String ruleArn)
The rule ARN.
ruleArn
- The rule ARN.public void setRuleName(String ruleName)
The name of the rule.
ruleName
- The name of the rule.public String getRuleName()
The name of the rule.
public TopicRuleListItem withRuleName(String ruleName)
The name of the rule.
ruleName
- The name of the rule.public void setTopicPattern(String topicPattern)
The pattern for the topic names that apply.
topicPattern
- The pattern for the topic names that apply.public String getTopicPattern()
The pattern for the topic names that apply.
public TopicRuleListItem withTopicPattern(String topicPattern)
The pattern for the topic names that apply.
topicPattern
- The pattern for the topic names that apply.public void setCreatedAt(Date createdAt)
The date and time the rule was created.
createdAt
- The date and time the rule was created.public Date getCreatedAt()
The date and time the rule was created.
public TopicRuleListItem withCreatedAt(Date createdAt)
The date and time the rule was created.
createdAt
- The date and time the rule was created.public void setRuleDisabled(Boolean ruleDisabled)
Specifies whether the rule is disabled.
ruleDisabled
- Specifies whether the rule is disabled.public Boolean getRuleDisabled()
Specifies whether the rule is disabled.
public TopicRuleListItem withRuleDisabled(Boolean ruleDisabled)
Specifies whether the rule is disabled.
ruleDisabled
- Specifies whether the rule is disabled.public Boolean isRuleDisabled()
Specifies whether the rule is disabled.
public String toString()
toString
in class Object
Object.toString()
public TopicRuleListItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.