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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default HeaderMatchPattern.Builderall(Consumer<All.Builder> all)Inspect all headers.HeaderMatchPattern.Builderall(All all)Inspect all headers.HeaderMatchPattern.BuilderexcludedHeaders(String... excludedHeaders)Inspect only the headers whose keys don't match any of the strings specified here.HeaderMatchPattern.BuilderexcludedHeaders(Collection<String> excludedHeaders)Inspect only the headers whose keys don't match any of the strings specified here.HeaderMatchPattern.BuilderincludedHeaders(String... includedHeaders)Inspect only the headers that have a key that matches one of the strings specified here.HeaderMatchPattern.BuilderincludedHeaders(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
all
HeaderMatchPattern.Builder all(All 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
default HeaderMatchPattern.Builder all(Consumer<All.Builder> all)
Inspect all headers.
This is a convenience method that creates an instance of theAll.Builderavoiding the need to create one manually viaAll.builder().When the
Consumercompletes,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:
all(All)
-
includedHeaders
HeaderMatchPattern.Builder includedHeaders(Collection<String> 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
HeaderMatchPattern.Builder includedHeaders(String... 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
HeaderMatchPattern.Builder excludedHeaders(Collection<String> 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
HeaderMatchPattern.Builder excludedHeaders(String... 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.
-
-