@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRulesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListRulesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListRulesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextMarker()
If you have more
Rules than the number that you specified for Limit in the request, the
response includes a NextMarker value. |
List<RuleSummary> |
getRules()
An array of RuleSummary objects.
|
int |
hashCode() |
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. |
void |
setRules(Collection<RuleSummary> rules)
An array of RuleSummary objects.
|
String |
toString()
Returns a string representation of this object.
|
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. |
ListRulesResult |
withRules(Collection<RuleSummary> rules)
An array of RuleSummary objects.
|
ListRulesResult |
withRules(RuleSummary... rules)
An array of RuleSummary objects.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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.
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 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(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 List<RuleSummary> getRules()
An array of RuleSummary objects.
public void setRules(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(Collection<RuleSummary> rules)
An array of RuleSummary objects.
rules - An array of RuleSummary objects.public String toString()
toString in class ObjectObject.toString()public ListRulesResult clone()