Class ListRulesRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudwatchevents.model.ListRulesRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class ListRulesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Container for the parameters to the ListRules operation.

See Also:
  • Constructor Details

    • ListRulesRequest

      public ListRulesRequest()
  • Method Details

    • setNamePrefix

      public void setNamePrefix(String namePrefix)

      The prefix matching the rule name.

      Parameters:
      namePrefix - The prefix matching the rule name.
    • getNamePrefix

      public String getNamePrefix()

      The prefix matching the rule name.

      Returns:
      The prefix matching the rule name.
    • withNamePrefix

      public ListRulesRequest withNamePrefix(String namePrefix)

      The prefix matching the rule name.

      Parameters:
      namePrefix - The prefix matching the rule name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextToken

      public void setNextToken(String nextToken)

      The token returned by a previous call to indicate that there is more data available.

      Parameters:
      nextToken - The token returned by a previous call to indicate that there is more data available.
    • getNextToken

      public String getNextToken()

      The token returned by a previous call to indicate that there is more data available.

      Returns:
      The token returned by a previous call to indicate that there is more data available.
    • withNextToken

      public ListRulesRequest withNextToken(String nextToken)

      The token returned by a previous call to indicate that there is more data available.

      Parameters:
      nextToken - The token returned by a previous call to indicate that there is more data available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setLimit

      public void setLimit(Integer limit)

      The maximum number of results to return.

      Parameters:
      limit - The maximum number of results to return.
    • getLimit

      public Integer getLimit()

      The maximum number of results to return.

      Returns:
      The maximum number of results to return.
    • withLimit

      public ListRulesRequest withLimit(Integer limit)

      The maximum number of results to return.

      Parameters:
      limit - The maximum number of results to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 ListRulesRequest 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: