public class CookieNames
extends java.lang.Object
implements java.io.Serializable
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.
| コンストラクタと説明 |
|---|
CookieNames() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getItems()
Optional: A complex type that contains whitelisted cookies for this
cache behavior.
|
java.lang.Integer |
getQuantity()
The number of whitelisted cookies for this cache behavior.
|
int |
hashCode() |
void |
setItems(java.util.Collection<java.lang.String> items)
Optional: A complex type that contains whitelisted cookies for this
cache behavior.
|
void |
setQuantity(java.lang.Integer quantity)
The number of whitelisted cookies for this cache behavior.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CookieNames |
withItems(java.util.Collection<java.lang.String> items)
Optional: A complex type that contains whitelisted cookies for this
cache behavior.
|
CookieNames |
withItems(java.lang.String... items)
Optional: A complex type that contains whitelisted cookies for this
cache behavior.
|
CookieNames |
withQuantity(java.lang.Integer quantity)
The number of whitelisted cookies for this cache behavior.
|
public java.lang.Integer getQuantity()
public void setQuantity(java.lang.Integer quantity)
quantity - The number of whitelisted cookies for this cache behavior.public CookieNames withQuantity(java.lang.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 java.util.List<java.lang.String> getItems()
public void setItems(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object