public class CachedMethods extends Object implements Serializable, Cloneable
| Constructor and Description | 
|---|
CachedMethods()  | 
| Modifier and Type | Method and Description | 
|---|---|
CachedMethods | 
clone()  | 
boolean | 
equals(Object obj)  | 
List<String> | 
getItems()
A complex type that contains the HTTP methods that you want CloudFront to
 cache responses to. 
 | 
Integer | 
getQuantity()
The number of HTTP methods for which you want CloudFront to cache
 responses. 
 | 
int | 
hashCode()  | 
void | 
setItems(Collection<String> items)
A complex type that contains the HTTP methods that you want CloudFront to
 cache responses to. 
 | 
void | 
setQuantity(Integer quantity)
The number of HTTP methods for which you want CloudFront to cache
 responses. 
 | 
String | 
toString()
Returns a string representation of this object; useful for testing and
 debugging. 
 | 
CachedMethods | 
withItems(Collection<String> items)
A complex type that contains the HTTP methods that you want CloudFront to
 cache responses to. 
 | 
CachedMethods | 
withItems(Method... items)
A complex type that contains the HTTP methods that you want CloudFront to
 cache responses to. 
 | 
CachedMethods | 
withItems(String... items)
A complex type that contains the HTTP methods that you want CloudFront to
 cache responses to. 
 | 
CachedMethods | 
withQuantity(Integer quantity)
The number of HTTP methods for which you want CloudFront to cache
 responses. 
 | 
public void setQuantity(Integer quantity)
quantity - The number of HTTP methods for which you want CloudFront to cache
        responses. Valid values are 2 (for caching responses to GET and
        HEAD requests) and 3 (for caching responses to GET, HEAD, and
        OPTIONS requests).public Integer getQuantity()
public CachedMethods withQuantity(Integer quantity)
quantity - The number of HTTP methods for which you want CloudFront to cache
        responses. Valid values are 2 (for caching responses to GET and
        HEAD requests) and 3 (for caching responses to GET, HEAD, and
        OPTIONS requests).public List<String> getItems()
Methodpublic void setItems(Collection<String> items)
items - A complex type that contains the HTTP methods that you want
        CloudFront to cache responses to.Methodpublic CachedMethods withItems(String... items)
 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 - A complex type that contains the HTTP methods that you want
        CloudFront to cache responses to.Methodpublic CachedMethods withItems(Collection<String> items)
items - A complex type that contains the HTTP methods that you want
        CloudFront to cache responses to.Methodpublic CachedMethods withItems(Method... items)
items - A complex type that contains the HTTP methods that you want
        CloudFront to cache responses to.Methodpublic String toString()
toString in class ObjectObject.toString()public CachedMethods clone()
Copyright © 2016. All rights reserved.