public class ForwardedValues extends Object implements Serializable, Cloneable
Constructor and Description |
---|
ForwardedValues() |
Modifier and Type | Method and Description |
---|---|
ForwardedValues |
clone() |
boolean |
equals(Object obj) |
CookiePreference |
getCookies()
A complex type that specifies how CloudFront handles cookies.
|
Headers |
getHeaders()
A complex type that specifies the Headers, if any, that you want
CloudFront to vary upon for this cache behavior.
|
Boolean |
getQueryString()
Indicates whether you want CloudFront to forward query strings to the
origin that is associated with this cache behavior.
|
int |
hashCode() |
Boolean |
isQueryString()
Indicates whether you want CloudFront to forward query strings to the
origin that is associated with this cache behavior.
|
void |
setCookies(CookiePreference cookies)
A complex type that specifies how CloudFront handles cookies.
|
void |
setHeaders(Headers headers)
A complex type that specifies the Headers, if any, that you want
CloudFront to vary upon for this cache behavior.
|
void |
setQueryString(Boolean queryString)
Indicates whether you want CloudFront to forward query strings to the
origin that is associated with this cache behavior.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ForwardedValues |
withCookies(CookiePreference cookies)
A complex type that specifies how CloudFront handles cookies.
|
ForwardedValues |
withHeaders(Headers headers)
A complex type that specifies the Headers, if any, that you want
CloudFront to vary upon for this cache behavior.
|
ForwardedValues |
withQueryString(Boolean queryString)
Indicates whether you want CloudFront to forward query strings to the
origin that is associated with this cache behavior.
|
public void setQueryString(Boolean queryString)
queryString
- Indicates whether you want CloudFront to forward query strings to
the origin that is associated with this cache behavior. If so,
specify true; if not, specify false.public Boolean getQueryString()
public ForwardedValues withQueryString(Boolean queryString)
queryString
- Indicates whether you want CloudFront to forward query strings to
the origin that is associated with this cache behavior. If so,
specify true; if not, specify false.public Boolean isQueryString()
public void setCookies(CookiePreference cookies)
cookies
- A complex type that specifies how CloudFront handles cookies.public CookiePreference getCookies()
public ForwardedValues withCookies(CookiePreference cookies)
cookies
- A complex type that specifies how CloudFront handles cookies.public void setHeaders(Headers headers)
headers
- A complex type that specifies the Headers, if any, that you want
CloudFront to vary upon for this cache behavior.public Headers getHeaders()
public ForwardedValues withHeaders(Headers headers)
headers
- A complex type that specifies the Headers, if any, that you want
CloudFront to vary upon for this cache behavior.public String toString()
toString
in class Object
Object.toString()
public ForwardedValues clone()
Copyright © 2016. All rights reserved.