@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CachePolicyList extends Object implements Serializable, Cloneable
A list of cache policies.
| Constructor and Description | 
|---|
| CachePolicyList() | 
| Modifier and Type | Method and Description | 
|---|---|
| CachePolicyList | clone() | 
| boolean | equals(Object obj) | 
| List<CachePolicySummary> | getItems()
 Contains the cache policies in the list. | 
| Integer | getMaxItems()
 The maximum number of cache policies requested. | 
| String | getNextMarker()
 If there are more items in the list than are in this response, this element is present. | 
| Integer | getQuantity()
 The total number of cache policies returned in the response. | 
| int | hashCode() | 
| void | setItems(Collection<CachePolicySummary> items)
 Contains the cache policies in the list. | 
| void | setMaxItems(Integer maxItems)
 The maximum number of cache policies requested. | 
| void | setNextMarker(String nextMarker)
 If there are more items in the list than are in this response, this element is present. | 
| void | setQuantity(Integer quantity)
 The total number of cache policies returned in the response. | 
| String | toString()Returns a string representation of this object. | 
| CachePolicyList | withItems(CachePolicySummary... items)
 Contains the cache policies in the list. | 
| CachePolicyList | withItems(Collection<CachePolicySummary> items)
 Contains the cache policies in the list. | 
| CachePolicyList | withMaxItems(Integer maxItems)
 The maximum number of cache policies requested. | 
| CachePolicyList | withNextMarker(String nextMarker)
 If there are more items in the list than are in this response, this element is present. | 
| CachePolicyList | withQuantity(Integer quantity)
 The total number of cache policies returned in the response. | 
public void setNextMarker(String nextMarker)
 If there are more items in the list than are in this response, this element is present. It contains the value
 that you should use in the Marker field of a subsequent request to continue listing cache policies
 where you left off.
 
nextMarker - If there are more items in the list than are in this response, this element is present. It contains the
        value that you should use in the Marker field of a subsequent request to continue listing
        cache policies where you left off.public String getNextMarker()
 If there are more items in the list than are in this response, this element is present. It contains the value
 that you should use in the Marker field of a subsequent request to continue listing cache policies
 where you left off.
 
Marker field of a subsequent request to continue listing
         cache policies where you left off.public CachePolicyList withNextMarker(String nextMarker)
 If there are more items in the list than are in this response, this element is present. It contains the value
 that you should use in the Marker field of a subsequent request to continue listing cache policies
 where you left off.
 
nextMarker - If there are more items in the list than are in this response, this element is present. It contains the
        value that you should use in the Marker field of a subsequent request to continue listing
        cache policies where you left off.public void setMaxItems(Integer maxItems)
The maximum number of cache policies requested.
maxItems - The maximum number of cache policies requested.public Integer getMaxItems()
The maximum number of cache policies requested.
public CachePolicyList withMaxItems(Integer maxItems)
The maximum number of cache policies requested.
maxItems - The maximum number of cache policies requested.public void setQuantity(Integer quantity)
The total number of cache policies returned in the response.
quantity - The total number of cache policies returned in the response.public Integer getQuantity()
The total number of cache policies returned in the response.
public CachePolicyList withQuantity(Integer quantity)
The total number of cache policies returned in the response.
quantity - The total number of cache policies returned in the response.public List<CachePolicySummary> getItems()
Contains the cache policies in the list.
public void setItems(Collection<CachePolicySummary> items)
Contains the cache policies in the list.
items - Contains the cache policies in the list.public CachePolicyList withItems(CachePolicySummary... items)
Contains the cache policies in the list.
 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 - Contains the cache policies in the list.public CachePolicyList withItems(Collection<CachePolicySummary> items)
Contains the cache policies in the list.
items - Contains the cache policies in the list.public String toString()
toString in class ObjectObject.toString()public CachePolicyList clone()