public class ListTopicRulesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
The input for the ListTopicRules operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
maxResults
The maximum number of results to return.
|
private java.lang.String |
nextToken
A token used to retrieve the next value.
|
private java.lang.Boolean |
ruleDisabled
Specifies whether the rule is disabled.
|
private java.lang.String |
topic
The topic.
|
NOOP
Constructor and Description |
---|
ListTopicRulesRequest() |
Modifier and Type | Method and Description |
---|---|
ListTopicRulesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getMaxResults()
The maximum number of results to return.
|
java.lang.String |
getNextToken()
A token used to retrieve the next value.
|
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)
A token used to retrieve the next value.
|
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)
A token used to retrieve the next value.
|
ListTopicRulesRequest |
withRuleDisabled(java.lang.Boolean ruleDisabled)
Specifies whether the rule is disabled.
|
ListTopicRulesRequest |
withTopic(java.lang.String topic)
The topic.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String topic
The topic.
private java.lang.Integer maxResults
The maximum number of results to return.
private java.lang.String nextToken
A token used to retrieve the next value.
private java.lang.Boolean ruleDisabled
Specifies whether the rule is disabled.
public void setTopic(java.lang.String topic)
The topic.
topic
- The topic.public java.lang.String getTopic()
The topic.
public ListTopicRulesRequest withTopic(java.lang.String topic)
The topic.
topic
- The topic.public void setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return.
maxResults
- The maximum number of results to return.public java.lang.Integer getMaxResults()
The maximum number of results to return.
public ListTopicRulesRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return.
maxResults
- The maximum number of results to return.public void setNextToken(java.lang.String nextToken)
A token used to retrieve the next value.
nextToken
- A token used to retrieve the next value.public java.lang.String getNextToken()
A token used to retrieve the next value.
public ListTopicRulesRequest withNextToken(java.lang.String nextToken)
A token used to retrieve the next value.
nextToken
- A token used to retrieve the next value.public void setRuleDisabled(java.lang.Boolean ruleDisabled)
Specifies whether the rule is disabled.
ruleDisabled
- Specifies whether the rule is disabled.public java.lang.Boolean getRuleDisabled()
Specifies whether the rule is disabled.
public ListTopicRulesRequest withRuleDisabled(java.lang.Boolean ruleDisabled)
Specifies whether the rule is disabled.
ruleDisabled
- Specifies whether the rule is disabled.public java.lang.Boolean isRuleDisabled()
Specifies whether the rule is disabled.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListTopicRulesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()