@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) |
List<RuleSummary> |
getItems()
Information about the rules.
|
String |
getNextToken()
If there are additional results, a pagination token for the next page of results.
|
int |
hashCode() |
void |
setItems(Collection<RuleSummary> items)
Information about the rules.
|
void |
setNextToken(String nextToken)
If there are additional results, a pagination token for the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListRulesResult |
withItems(Collection<RuleSummary> items)
Information about the rules.
|
ListRulesResult |
withItems(RuleSummary... items)
Information about the rules.
|
ListRulesResult |
withNextToken(String nextToken)
If there are additional results, a pagination token for the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<RuleSummary> getItems()
Information about the rules.
public void setItems(Collection<RuleSummary> items)
Information about the rules.
items
- Information about the rules.public ListRulesResult withItems(RuleSummary... items)
Information about the rules.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- Information about the rules.public ListRulesResult withItems(Collection<RuleSummary> items)
Information about the rules.
items
- Information about the rules.public void setNextToken(String nextToken)
If there are additional results, a pagination token for the next page of results.
nextToken
- If there are additional results, a pagination token for the next page of results.public String getNextToken()
If there are additional results, a pagination token for the next page of results.
public ListRulesResult withNextToken(String nextToken)
If there are additional results, a pagination token for the next page of results.
nextToken
- If there are additional results, a pagination token for the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListRulesResult clone()