public class ListTopicRulesRequest extends AmazonWebServiceRequest implements Serializable
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.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getTopic()
The topic.
The topic.
public void setTopic(String topic)
The topic.
topic - The topic.
public ListTopicRulesRequest withTopic(String topic)
The topic.
Returns a reference to this object so that method calls can be chained together.
topic - The topic.
public Integer getMaxResults()
The maximum number of results to return.
Constraints:
Range: 1 - 10000
The maximum number of results to return.
public void setMaxResults(Integer maxResults)
The maximum number of results to return.
Constraints:
Range: 1 - 10000
maxResults - The maximum number of results to return.
public ListTopicRulesRequest withMaxResults(Integer maxResults)
The maximum number of results to return.
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()
A token used to retrieve the next value.
A token used to retrieve the next value.
public void setNextToken(String nextToken)
A token used to retrieve the next value.
nextToken - A token used to retrieve the next value.
public ListTopicRulesRequest withNextToken(String nextToken)
A token used to retrieve the next value.
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()
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 ListTopicRulesRequest 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.