Interface HeaderObject.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HeaderObject.Builder,,HeaderObject> SdkBuilder<HeaderObject.Builder,,HeaderObject> SdkPojo
- Enclosing class:
HeaderObject
-
Method Summary
Modifier and TypeMethodDescriptionheadersAllowList(Collection<HeaderEnum> headersAllowList) The specific headers to forward to your distribution's origin.headersAllowList(HeaderEnum... headersAllowList) The specific headers to forward to your distribution's origin.headersAllowListWithStrings(String... headersAllowList) The specific headers to forward to your distribution's origin.headersAllowListWithStrings(Collection<String> headersAllowList) The specific headers to forward to your distribution's origin.The headers that you want your distribution to forward to your origin and base caching on.option(ForwardValues option) The headers that you want your distribution to forward to your origin and base caching on.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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 theheadersAllowListparameter.
- 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 theheadersAllowListparameter.
-
- 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 theheadersAllowListparameter.
- 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 theheadersAllowListparameter.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
headersAllowListWithStrings
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
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
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
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.
-