public class ListTopicRulesRequest extends AmazonWebServiceRequest implements Serializable
ListTopicRules operation.
Lists the rules for the specific topic.
| Constructor and Description |
|---|
ListTopicRulesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to return.
|
String |
getNextToken()
A token used to retrieve the next value.
|
Boolean |
getRuleDisabled()
Specifies whether the rule is disabled.
|
String |
getTopic()
The topic.
|
int |
hashCode() |
Boolean |
isRuleDisabled()
Specifies whether the rule is disabled.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return.
|
void |
setNextToken(String nextToken)
A token used to retrieve the next value.
|
void |
setRuleDisabled(Boolean ruleDisabled)
Specifies whether the rule is disabled.
|
void |
setTopic(String topic)
The topic.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTopicRulesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return.
|
ListTopicRulesRequest |
withNextToken(String nextToken)
A token used to retrieve the next value.
|
ListTopicRulesRequest |
withRuleDisabled(Boolean ruleDisabled)
Specifies whether the rule is disabled.
|
ListTopicRulesRequest |
withTopic(String topic)
The topic.
|
getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic String getTopic()
public void setTopic(String topic)
topic - The topic.public ListTopicRulesRequest withTopic(String topic)
Returns a reference to this object so that method calls can be chained together.
topic - The topic.public Integer getMaxResults()
Constraints:
Range: 1 - 10000
public void setMaxResults(Integer maxResults)
Constraints:
Range: 1 - 10000
maxResults - The maximum number of results to return.public ListTopicRulesRequest withMaxResults(Integer maxResults)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 10000
maxResults - The maximum number of results to return.public String getNextToken()
public void setNextToken(String nextToken)
nextToken - A token used to retrieve the next value.public ListTopicRulesRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken - A token used to retrieve the next value.public Boolean isRuleDisabled()
public void setRuleDisabled(Boolean ruleDisabled)
ruleDisabled - Specifies whether the rule is disabled.public ListTopicRulesRequest 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.