public class ForwardedValues extends Object implements Serializable
A complex type that specifies how CloudFront handles query strings, cookies and headers.
| Constructor and Description | 
|---|
| ForwardedValues() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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 Boolean isQueryString()
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 ForwardedValues withQueryString(Boolean queryString)
Returns a reference to this object so that method calls can be chained together.
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 CookiePreference getCookies()
public void setCookies(CookiePreference cookies)
cookies - A complex type that specifies how CloudFront handles cookies.public ForwardedValues withCookies(CookiePreference cookies)
Returns a reference to this object so that method calls can be chained together.
cookies - A complex type that specifies how CloudFront handles cookies.public Headers getHeaders()
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 ForwardedValues withHeaders(Headers headers)
Returns a reference to this object so that method calls can be chained together.
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 ObjectObject.toString()Copyright © 2015. All rights reserved.