Interface ResponseHeadersPolicyCustomHeadersConfig.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ResponseHeadersPolicyCustomHeadersConfig.Builder,ResponseHeadersPolicyCustomHeadersConfig>
,SdkBuilder<ResponseHeadersPolicyCustomHeadersConfig.Builder,ResponseHeadersPolicyCustomHeadersConfig>
,SdkPojo
- Enclosing class:
- ResponseHeadersPolicyCustomHeadersConfig
public static interface ResponseHeadersPolicyCustomHeadersConfig.Builder extends SdkPojo, CopyableBuilder<ResponseHeadersPolicyCustomHeadersConfig.Builder,ResponseHeadersPolicyCustomHeadersConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResponseHeadersPolicyCustomHeadersConfig.Builder
items(Collection<ResponseHeadersPolicyCustomHeader> items)
The list of HTTP response headers and their values.ResponseHeadersPolicyCustomHeadersConfig.Builder
items(Consumer<ResponseHeadersPolicyCustomHeader.Builder>... items)
The list of HTTP response headers and their values.ResponseHeadersPolicyCustomHeadersConfig.Builder
items(ResponseHeadersPolicyCustomHeader... items)
The list of HTTP response headers and their values.ResponseHeadersPolicyCustomHeadersConfig.Builder
quantity(Integer quantity)
The number of HTTP response headers in the list.-
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, sdkFields
-
-
-
-
Method Detail
-
quantity
ResponseHeadersPolicyCustomHeadersConfig.Builder quantity(Integer quantity)
The number of HTTP response headers in the list.
- Parameters:
quantity
- The number of HTTP response headers in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ResponseHeadersPolicyCustomHeadersConfig.Builder items(Collection<ResponseHeadersPolicyCustomHeader> items)
The list of HTTP response headers and their values.
- Parameters:
items
- The list of HTTP response headers and their values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ResponseHeadersPolicyCustomHeadersConfig.Builder items(ResponseHeadersPolicyCustomHeader... items)
The list of HTTP response headers and their values.
- Parameters:
items
- The list of HTTP response headers and their values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ResponseHeadersPolicyCustomHeadersConfig.Builder items(Consumer<ResponseHeadersPolicyCustomHeader.Builder>... items)
The list of HTTP response headers and their values.
This is a convenience method that creates an instance of theResponseHeadersPolicyCustomHeader.Builder
avoiding the need to create one manually viaResponseHeadersPolicyCustomHeader.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#items(List
.) - Parameters:
items
- a consumer that will call methods onResponseHeadersPolicyCustomHeader.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection
)
-
-