Interface HeaderObject.Builder

All Superinterfaces:
Buildable, CopyableBuilder<HeaderObject.Builder,HeaderObject>, SdkBuilder<HeaderObject.Builder,HeaderObject>, SdkPojo
Enclosing class:
HeaderObject

public static interface HeaderObject.Builder extends SdkPojo, CopyableBuilder<HeaderObject.Builder,HeaderObject>
  • Method Details

    • option

      HeaderObject.Builder option(String option)

      The headers that you want your distribution to forward to your origin and base caching on.

      You can configure your distribution to do one of the following:

      • all - Forward all headers to your origin.

      • none - Forward only the default headers.

      • allow-list - Forward only the headers you specify using the headersAllowList parameter.

      Parameters:
      option - The headers that you want your distribution to forward to your origin and base caching on.

      You can configure your distribution to do one of the following:

      • all - Forward all headers to your origin.

      • none - Forward only the default headers.

      • allow-list - Forward only the headers you specify using the headersAllowList parameter.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • option

      The headers that you want your distribution to forward to your origin and base caching on.

      You can configure your distribution to do one of the following:

      • all - Forward all headers to your origin.

      • none - Forward only the default headers.

      • allow-list - Forward only the headers you specify using the headersAllowList parameter.

      Parameters:
      option - The headers that you want your distribution to forward to your origin and base caching on.

      You can configure your distribution to do one of the following:

      • all - Forward all headers to your origin.

      • none - Forward only the default headers.

      • allow-list - Forward only the headers you specify using the headersAllowList parameter.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • headersAllowListWithStrings

      HeaderObject.Builder headersAllowListWithStrings(Collection<String> headersAllowList)

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

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

      HeaderObject.Builder headersAllowListWithStrings(String... headersAllowList)

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

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

      HeaderObject.Builder headersAllowList(Collection<HeaderEnum> headersAllowList)

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

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

      HeaderObject.Builder headersAllowList(HeaderEnum... headersAllowList)

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

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