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 ListRulesResult
clone()
boolean
equals(Object obj)
String
getNextMarker()
If you have moreRules
than the number that you specified forLimit
in the request, the response includes aNextMarker
value.List<RuleSummary>
getRules()
An array of RuleSummary objects.int
hashCode()
void
setNextMarker(String nextMarker)
If you have moreRules
than the number that you specified forLimit
in the request, the response includes aNextMarker
value.void
setRules(Collection<RuleSummary> rules)
An array of RuleSummary objects.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListRulesResult
withNextMarker(String nextMarker)
If you have moreRules
than the number that you specified forLimit
in the request, the response includes aNextMarker
value.ListRulesResult
withRules(RuleSummary... rules)
An array of RuleSummary objects.ListRulesResult
withRules(Collection<RuleSummary> rules)
An array of RuleSummary objects.
-
-
-
Method Detail
-
setNextMarker
public void setNextMarker(String nextMarker)
If you have more
Rules
than the number that you specified forLimit
in the request, the response includes aNextMarker
value. To list moreRules
, submit anotherListRules
request, and specify theNextMarker
value from the response in theNextMarker
value in the next request.- Parameters:
nextMarker
- If you have moreRules
than the number that you specified forLimit
in the request, the response includes aNextMarker
value. To list moreRules
, submit anotherListRules
request, and specify theNextMarker
value from the response in theNextMarker
value in the next request.
-
getNextMarker
public String getNextMarker()
If you have more
Rules
than the number that you specified forLimit
in the request, the response includes aNextMarker
value. To list moreRules
, submit anotherListRules
request, and specify theNextMarker
value from the response in theNextMarker
value in the next request.- Returns:
- If you have more
Rules
than the number that you specified forLimit
in the request, the response includes aNextMarker
value. To list moreRules
, submit anotherListRules
request, and specify theNextMarker
value from the response in theNextMarker
value in the next request.
-
withNextMarker
public ListRulesResult withNextMarker(String nextMarker)
If you have more
Rules
than the number that you specified forLimit
in the request, the response includes aNextMarker
value. To list moreRules
, submit anotherListRules
request, and specify theNextMarker
value from the response in theNextMarker
value in the next request.- Parameters:
nextMarker
- If you have moreRules
than the number that you specified forLimit
in the request, the response includes aNextMarker
value. To list moreRules
, submit anotherListRules
request, and specify theNextMarker
value from the response in theNextMarker
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)
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListRulesResult clone()
-
-