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:
  • Constructor Details

    • ListTopicRulesRequest

      public ListTopicRulesRequest()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: