Interface ResponseHeadersPolicyCustomHeader.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ResponseHeadersPolicyCustomHeader.Builder,ResponseHeadersPolicyCustomHeader>
,SdkBuilder<ResponseHeadersPolicyCustomHeader.Builder,ResponseHeadersPolicyCustomHeader>
,SdkPojo
- Enclosing class:
- ResponseHeadersPolicyCustomHeader
public static interface ResponseHeadersPolicyCustomHeader.Builder extends SdkPojo, CopyableBuilder<ResponseHeadersPolicyCustomHeader.Builder,ResponseHeadersPolicyCustomHeader>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResponseHeadersPolicyCustomHeader.Builder
header(String header)
The HTTP response header name.ResponseHeadersPolicyCustomHeader.Builder
override(Boolean override)
A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.ResponseHeadersPolicyCustomHeader.Builder
value(String value)
The value for the HTTP response header.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
header
ResponseHeadersPolicyCustomHeader.Builder header(String header)
The HTTP response header name.
- Parameters:
header
- The HTTP response header name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
ResponseHeadersPolicyCustomHeader.Builder value(String value)
The value for the HTTP response header.
- Parameters:
value
- The value for the HTTP response header.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
override
ResponseHeadersPolicyCustomHeader.Builder override(Boolean override)
A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.
- Parameters:
override
- A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-