Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudfront.model
Class ForwardedValues

java.lang.Object
  extended by com.amazonaws.services.cloudfront.model.ForwardedValues
All Implemented Interfaces:
Serializable

public class ForwardedValues
extends Object
implements Serializable

A complex type that specifies how CloudFront handles query strings.

See Also:
Serialized Form

Constructor Summary
ForwardedValues()
           
 
Method Summary
 boolean equals(Object obj)
           
 CookiePreference getCookies()
          A complex type that specifies how CloudFront handles cookies.
 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 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 withQueryString(Boolean queryString)
          Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ForwardedValues

public ForwardedValues()
Method Detail

isQueryString

public Boolean 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.

setQueryString

public void setQueryString(Boolean 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.

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.

withQueryString

public ForwardedValues withQueryString(Boolean 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 a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

getQueryString

public Boolean 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.

getCookies

public CookiePreference getCookies()
A complex type that specifies how CloudFront handles cookies.

Returns:
A complex type that specifies how CloudFront handles cookies.

setCookies

public void setCookies(CookiePreference cookies)
A complex type that specifies how CloudFront handles cookies.

Parameters:
cookies - A complex type that specifies how CloudFront handles cookies.

withCookies

public ForwardedValues withCookies(CookiePreference cookies)
A complex type that specifies how CloudFront handles cookies.

Returns a reference to this object so that method calls can be chained together.

Parameters:
cookies - A complex type that specifies how CloudFront handles cookies.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.