public class CookieNames extends Object implements Serializable, Cloneable
Constructor and Description |
---|
CookieNames() |
Modifier and Type | Method and Description |
---|---|
CookieNames |
clone() |
boolean |
equals(Object obj) |
List<String> |
getItems()
Optional: A complex type that contains whitelisted cookies for this cache
behavior.
|
Integer |
getQuantity()
The number of whitelisted cookies for this cache behavior.
|
int |
hashCode() |
void |
setItems(Collection<String> items)
Optional: A complex type that contains whitelisted cookies for this cache
behavior.
|
void |
setQuantity(Integer quantity)
The number of whitelisted cookies for this cache behavior.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CookieNames |
withItems(Collection<String> items)
Optional: A complex type that contains whitelisted cookies for this cache
behavior.
|
CookieNames |
withItems(String... items)
Optional: A complex type that contains whitelisted cookies for this cache
behavior.
|
CookieNames |
withQuantity(Integer quantity)
The number of whitelisted cookies for this cache behavior.
|
public void setQuantity(Integer quantity)
quantity
- The number of whitelisted cookies for this cache behavior.public Integer getQuantity()
public CookieNames withQuantity(Integer quantity)
quantity
- The number of whitelisted cookies for this cache behavior.public List<String> getItems()
public void setItems(Collection<String> items)
items
- Optional: A complex type that contains whitelisted cookies for
this cache behavior. If Quantity is 0, you can omit Items.public CookieNames 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
- Optional: A complex type that contains whitelisted cookies for
this cache behavior. If Quantity is 0, you can omit Items.public CookieNames withItems(Collection<String> items)
items
- Optional: A complex type that contains whitelisted cookies for
this cache behavior. If Quantity is 0, you can omit Items.public String toString()
toString
in class Object
Object.toString()
public CookieNames clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.