public class ForwardedValues
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private CookiePreference |
cookies
A complex type that specifies how CloudFront handles cookies.
|
private Headers |
headers
A complex type that specifies the Headers, if any, that you want
CloudFront to vary upon for this cache behavior.
|
private java.lang.Boolean |
queryString
Indicates whether you want CloudFront to forward query strings to the
origin that is associated with this cache behavior.
|
Constructor and Description |
---|
ForwardedValues() |
Modifier and Type | Method and Description |
---|---|
ForwardedValues |
clone() |
boolean |
equals(java.lang.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.
|
java.lang.Boolean |
getQueryString()
Indicates whether you want CloudFront to forward query strings to the
origin that is associated with this cache behavior.
|
int |
hashCode() |
java.lang.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(java.lang.Boolean queryString)
Indicates whether you want CloudFront to forward query strings to the
origin that is associated with this cache behavior.
|
java.lang.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(java.lang.Boolean queryString)
Indicates whether you want CloudFront to forward query strings to the
origin that is associated with this cache behavior.
|
private java.lang.Boolean queryString
private CookiePreference cookies
private Headers headers
public void setQueryString(java.lang.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 java.lang.Boolean getQueryString()
public ForwardedValues withQueryString(java.lang.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 java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ForwardedValues clone()
clone
in class java.lang.Object