|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudfront.model.CookieNames
public class CookieNames
A complex type that specifies the whitelisted cookies, if any, that you want CloudFront to forward to your origin that is associated with this cache behavior.
Constructor Summary | |
---|---|
CookieNames()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CookieNames()
Method Detail |
---|
public Integer getQuantity()
public void setQuantity(Integer quantity)
quantity
- The number of whitelisted cookies for this cache behavior.public CookieNames withQuantity(Integer quantity)
Returns a reference to this object so that method calls can be chained together.
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)
Returns a reference to this object so that method calls can be chained together.
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)
Returns a reference to this object so that method calls can be chained together.
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 int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |