Class ForwardedValues
java.lang.Object
com.amazonaws.services.cloudfront.model.ForwardedValues
- All Implemented Interfaces:
Serializable
,Cloneable
A complex type that specifies how CloudFront handles query strings, cookies
and headers.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A complex type that specifies how CloudFront handles cookies.A complex type that specifies the Headers, if any, that you want CloudFront to vary upon for this cache behavior.Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior.int
hashCode()
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.toString()
Returns a string representation of this object; useful for testing and debugging.withCookies
(CookiePreference cookies) A complex type that specifies how CloudFront handles cookies.withHeaders
(Headers headers) A complex type that specifies the Headers, if any, that you want CloudFront to vary upon for this cache behavior.withQueryString
(Boolean queryString) Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior.
-
Constructor Details
-
ForwardedValues
public ForwardedValues()
-
-
Method Details
-
setQueryString
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.- Parameters:
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.
-
getQueryString
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.- Returns:
- 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.
-
withQueryString
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isQueryString
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.- Returns:
- 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.
-
setCookies
A complex type that specifies how CloudFront handles cookies.- Parameters:
cookies
- A complex type that specifies how CloudFront handles cookies.
-
getCookies
A complex type that specifies how CloudFront handles cookies.- Returns:
- A complex type that specifies how CloudFront handles cookies.
-
withCookies
A complex type that specifies how CloudFront handles cookies.- Parameters:
cookies
- A complex type that specifies how CloudFront handles cookies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHeaders
A complex type that specifies the Headers, if any, that you want CloudFront to vary upon for this cache behavior.- Parameters:
headers
- A complex type that specifies the Headers, if any, that you want CloudFront to vary upon for this cache behavior.
-
getHeaders
A complex type that specifies the Headers, if any, that you want CloudFront to vary upon for this cache behavior.- Returns:
- A complex type that specifies the Headers, if any, that you want CloudFront to vary upon for this cache behavior.
-
withHeaders
A complex type that specifies the Headers, if any, that you want CloudFront to vary upon for this cache behavior.- Parameters:
headers
- A complex type that specifies the Headers, if any, that you want CloudFront to vary upon for this cache behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-