public class ListRulesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextMarker
If you have more
Rules than the number that you specified
for Limit in the request, the response includes a
NextMarker value. |
private java.util.List<RuleSummary> |
rules
An array of RuleSummary objects.
|
Constructor and Description |
---|
ListRulesResult() |
Modifier and Type | Method and Description |
---|---|
ListRulesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextMarker()
If you have more
Rules than the number that you specified
for Limit in the request, the response includes a
NextMarker value. |
java.util.List<RuleSummary> |
getRules()
An array of RuleSummary objects.
|
int |
hashCode() |
void |
setNextMarker(java.lang.String nextMarker)
If you have more
Rules than the number that you specified
for Limit in the request, the response includes a
NextMarker value. |
void |
setRules(java.util.Collection<RuleSummary> rules)
An array of RuleSummary objects.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListRulesResult |
withNextMarker(java.lang.String nextMarker)
If you have more
Rules than the number that you specified
for Limit in the request, the response includes a
NextMarker value. |
ListRulesResult |
withRules(java.util.Collection<RuleSummary> rules)
An array of RuleSummary objects.
|
ListRulesResult |
withRules(RuleSummary... rules)
An array of RuleSummary objects.
|
private java.lang.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.
private java.util.List<RuleSummary> rules
An array of RuleSummary objects.
public void setNextMarker(java.lang.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.
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.public java.lang.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.
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.public ListRulesResult withNextMarker(java.lang.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.
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.public java.util.List<RuleSummary> getRules()
An array of RuleSummary objects.
public void setRules(java.util.Collection<RuleSummary> rules)
An array of RuleSummary objects.
rules
- An array of RuleSummary objects.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.
rules
- An array of RuleSummary objects.public ListRulesResult withRules(java.util.Collection<RuleSummary> rules)
An array of RuleSummary objects.
rules
- An array of RuleSummary objects.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListRulesResult clone()
clone
in class java.lang.Object