Interface HeaderMatchPattern.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HeaderMatchPattern.Builder,
,HeaderMatchPattern> SdkBuilder<HeaderMatchPattern.Builder,
,HeaderMatchPattern> SdkPojo
- Enclosing class:
HeaderMatchPattern
public static interface HeaderMatchPattern.Builder
extends SdkPojo, CopyableBuilder<HeaderMatchPattern.Builder,HeaderMatchPattern>
-
Method Summary
Modifier and TypeMethodDescriptiondefault HeaderMatchPattern.Builder
all
(Consumer<All.Builder> all) Inspect all headers.Inspect all headers.excludedHeaders
(String... excludedHeaders) Inspect only the headers whose keys don't match any of the strings specified here.excludedHeaders
(Collection<String> excludedHeaders) Inspect only the headers whose keys don't match any of the strings specified here.includedHeaders
(String... includedHeaders) Inspect only the headers that have a key that matches one of the strings specified here.includedHeaders
(Collection<String> includedHeaders) Inspect only the headers that have a key that matches one of the strings specified here.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
-
all
Inspect all headers.
- Parameters:
all
- Inspect all headers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
all
Inspect all headers.
This is a convenience method that creates an instance of theAll.Builder
avoiding the need to create one manually viaAll.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toall(All)
.- Parameters:
all
- a consumer that will call methods onAll.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
includedHeaders
Inspect only the headers that have a key that matches one of the strings specified here.
- Parameters:
includedHeaders
- Inspect only the headers that have a key that matches one of the strings specified here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includedHeaders
Inspect only the headers that have a key that matches one of the strings specified here.
- Parameters:
includedHeaders
- Inspect only the headers that have a key that matches one of the strings specified here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludedHeaders
Inspect only the headers whose keys don't match any of the strings specified here.
- Parameters:
excludedHeaders
- Inspect only the headers whose keys don't match any of the strings specified here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludedHeaders
Inspect only the headers whose keys don't match any of the strings specified here.
- Parameters:
excludedHeaders
- Inspect only the headers whose keys don't match any of the strings specified here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-