Class ListRulesResult

java.lang.Object
com.amazonaws.services.waf.model.ListRulesResult
All Implemented Interfaces:
Serializable, Cloneable

public class ListRulesResult extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • ListRulesResult

      public ListRulesResult()
  • Method Details

    • setNextMarker

      public void setNextMarker(String nextMarker)

      If you have more Rules than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more Rules, submit another ListRules request, and specify the NextMarker value from the response in the NextMarker value in the next request.

      Parameters:
      nextMarker - If you have more Rules than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more Rules, submit another ListRules request, and specify the NextMarker value from the response in the NextMarker value in the next request.
    • getNextMarker

      public String getNextMarker()

      If you have more Rules than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more Rules, submit another ListRules request, and specify the NextMarker value from the response in the NextMarker value in the next request.

      Returns:
      If you have more Rules than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more Rules, submit another ListRules request, and specify the NextMarker value from the response in the NextMarker value in the next request.
    • withNextMarker

      public ListRulesResult withNextMarker(String nextMarker)

      If you have more Rules than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more Rules, submit another ListRules request, and specify the NextMarker value from the response in the NextMarker value in the next request.

      Parameters:
      nextMarker - If you have more Rules than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more Rules, submit another ListRules request, and specify the NextMarker value from the response in the NextMarker value in the next request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getRules

      public List<RuleSummary> getRules()

      An array of RuleSummary objects.

      Returns:
      An array of RuleSummary objects.
    • setRules

      public void setRules(Collection<RuleSummary> rules)

      An array of RuleSummary objects.

      Parameters:
      rules - An array of RuleSummary objects.
    • withRules

      public ListRulesResult withRules(RuleSummary... rules)

      An array of RuleSummary objects.

      NOTE: This method appends the values to the existing list (if any). Use setRules(java.util.Collection) or withRules(java.util.Collection) if you want to override the existing values.

      Parameters:
      rules - An array of RuleSummary objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withRules

      public ListRulesResult withRules(Collection<RuleSummary> rules)

      An array of RuleSummary objects.

      Parameters:
      rules - An array of RuleSummary objects.
      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 ListRulesResult clone()
      Overrides:
      clone in class Object