Package com.amazonaws.services.iot.model
Class ListTopicRulesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.iot.model.ListTopicRulesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ListTopicRulesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for the ListTopicRules operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListTopicRulesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTopicRulesRequest
clone()
Creates a shallow clone of this request.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.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setTopic
public void setTopic(String topic)
The topic.
- Parameters:
topic
- The topic.
-
getTopic
public String getTopic()
The topic.
- Returns:
- The topic.
-
withTopic
public ListTopicRulesRequest withTopic(String topic)
The topic.
- Parameters:
topic
- The topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxResults
public void setMaxResults(Integer maxResults)
The maximum number of results to return.
- Parameters:
maxResults
- The maximum number of results to return.
-
getMaxResults
public Integer getMaxResults()
The maximum number of results to return.
- Returns:
- The maximum number of results to return.
-
withMaxResults
public ListTopicRulesRequest withMaxResults(Integer maxResults)
The maximum number of results to return.
- Parameters:
maxResults
- The maximum number of results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
A token used to retrieve the next value.
- Parameters:
nextToken
- A token used to retrieve the next value.
-
getNextToken
public String getNextToken()
A token used to retrieve the next value.
- Returns:
- A token used to retrieve the next value.
-
withNextToken
public ListTopicRulesRequest withNextToken(String nextToken)
A token used to retrieve the next value.
- Parameters:
nextToken
- A token used to retrieve the next value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRuleDisabled
public void setRuleDisabled(Boolean ruleDisabled)
Specifies whether the rule is disabled.
- Parameters:
ruleDisabled
- Specifies whether the rule is disabled.
-
getRuleDisabled
public Boolean getRuleDisabled()
Specifies whether the rule is disabled.
- Returns:
- Specifies whether the rule is disabled.
-
withRuleDisabled
public ListTopicRulesRequest withRuleDisabled(Boolean ruleDisabled)
Specifies whether the rule is disabled.
- Parameters:
ruleDisabled
- Specifies whether the rule is disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isRuleDisabled
public Boolean isRuleDisabled()
Specifies whether the rule is disabled.
- Returns:
- Specifies whether the rule is disabled.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListTopicRulesRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-