|
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.CookiePreference
public class CookiePreference
A complex type that specifies the cookie preferences associated with this cache behavior.
| Constructor Summary | |
|---|---|
CookiePreference()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getForward()
Use this element to specify whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior. |
CookieNames |
getWhitelistedNames()
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. |
int |
hashCode()
|
void |
setForward(ItemSelection forward)
Use this element to specify whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior. |
void |
setForward(String forward)
Use this element to specify whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior. |
void |
setWhitelistedNames(CookieNames whitelistedNames)
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. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CookiePreference |
withForward(ItemSelection forward)
Use this element to specify whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior. |
CookiePreference |
withForward(String forward)
Use this element to specify whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior. |
CookiePreference |
withWhitelistedNames(CookieNames whitelistedNames)
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. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CookiePreference()
| Method Detail |
|---|
public String getForward()
Constraints:
Allowed Values: none, whitelist, all
ItemSelectionpublic void setForward(String forward)
Constraints:
Allowed Values: none, whitelist, all
forward - Use this element to specify whether you want CloudFront to forward
cookies to the origin that is associated with this cache behavior. You
can specify all, none or whitelist. If you choose All, CloudFront
forwards all cookies regardless of how many your application uses.ItemSelectionpublic CookiePreference withForward(String forward)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: none, whitelist, all
forward - Use this element to specify whether you want CloudFront to forward
cookies to the origin that is associated with this cache behavior. You
can specify all, none or whitelist. If you choose All, CloudFront
forwards all cookies regardless of how many your application uses.
ItemSelectionpublic void setForward(ItemSelection forward)
Constraints:
Allowed Values: none, whitelist, all
forward - Use this element to specify whether you want CloudFront to forward
cookies to the origin that is associated with this cache behavior. You
can specify all, none or whitelist. If you choose All, CloudFront
forwards all cookies regardless of how many your application uses.ItemSelectionpublic CookiePreference withForward(ItemSelection forward)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: none, whitelist, all
forward - Use this element to specify whether you want CloudFront to forward
cookies to the origin that is associated with this cache behavior. You
can specify all, none or whitelist. If you choose All, CloudFront
forwards all cookies regardless of how many your application uses.
ItemSelectionpublic CookieNames getWhitelistedNames()
public void setWhitelistedNames(CookieNames whitelistedNames)
whitelistedNames - 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.public CookiePreference withWhitelistedNames(CookieNames whitelistedNames)
Returns a reference to this object so that method calls can be chained together.
whitelistedNames - 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.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||