Interface CookieObject.Builder

    • Method Detail

      • option

        CookieObject.Builder option​(String option)

        Specifies which cookies to forward to the distribution's origin for a cache behavior: all, none, or allow-list to forward only the cookies specified in the cookiesAllowList parameter.

        Parameters:
        option - Specifies which cookies to forward to the distribution's origin for a cache behavior: all , none, or allow-list to forward only the cookies specified in the cookiesAllowList parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ForwardValues, ForwardValues
      • option

        CookieObject.Builder option​(ForwardValues option)

        Specifies which cookies to forward to the distribution's origin for a cache behavior: all, none, or allow-list to forward only the cookies specified in the cookiesAllowList parameter.

        Parameters:
        option - Specifies which cookies to forward to the distribution's origin for a cache behavior: all , none, or allow-list to forward only the cookies specified in the cookiesAllowList parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ForwardValues, ForwardValues
      • cookiesAllowList

        CookieObject.Builder cookiesAllowList​(Collection<String> cookiesAllowList)

        The specific cookies to forward to your distribution's origin.

        Parameters:
        cookiesAllowList - The specific cookies to forward to your distribution's origin.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cookiesAllowList

        CookieObject.Builder cookiesAllowList​(String... cookiesAllowList)

        The specific cookies to forward to your distribution's origin.

        Parameters:
        cookiesAllowList - The specific cookies to forward to your distribution's origin.
        Returns:
        Returns a reference to this object so that method calls can be chained together.