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