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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListRulesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListRulesResultclone()booleanequals(Object obj)StringgetNextMarker()If you have moreRulesthan the number that you specified forLimitin the request, the response includes aNextMarkervalue.List<RuleSummary>getRules()An array of RuleSummary objects.inthashCode()voidsetNextMarker(String nextMarker)If you have moreRulesthan the number that you specified forLimitin the request, the response includes aNextMarkervalue.voidsetRules(Collection<RuleSummary> rules)An array of RuleSummary objects.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListRulesResultwithNextMarker(String nextMarker)If you have moreRulesthan the number that you specified forLimitin the request, the response includes aNextMarkervalue.ListRulesResultwithRules(RuleSummary... rules)An array of RuleSummary objects.ListRulesResultwithRules(Collection<RuleSummary> rules)An array of RuleSummary objects.
-
-
-
Method Detail
-
setNextMarker
public void setNextMarker(String nextMarker)
If you have more
Rulesthan the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreRules, submit anotherListRulesrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.- Parameters:
nextMarker- If you have moreRulesthan the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreRules, submit anotherListRulesrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.
-
getNextMarker
public String getNextMarker()
If you have more
Rulesthan the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreRules, submit anotherListRulesrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.- Returns:
- If you have more
Rulesthan the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreRules, submit anotherListRulesrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.
-
withNextMarker
public ListRulesResult withNextMarker(String nextMarker)
If you have more
Rulesthan the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreRules, submit anotherListRulesrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.- Parameters:
nextMarker- If you have moreRulesthan the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreRules, submit anotherListRulesrequest, and specify theNextMarkervalue from the response in theNextMarkervalue 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)orwithRules(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListRulesResult clone()
-
-