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
Modifier and TypeMethodDescriptionThe list of HTTP response headers and their values.The list of HTTP response headers and their values.items
(ResponseHeadersPolicyCustomHeader... items) The list of HTTP response headers and their values.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 Details
-
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
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 toitems(List<ResponseHeadersPolicyCustomHeader>)
.- 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:
-