public static interface HeaderMatchPattern.Builder extends SdkPojo, CopyableBuilder<HeaderMatchPattern.Builder,HeaderMatchPattern>
| Modifier and Type | Method and Description |
|---|---|
HeaderMatchPattern.Builder |
all(All all)
Inspect all headers.
|
default HeaderMatchPattern.Builder |
all(Consumer<All.Builder> all)
Inspect all headers.
|
HeaderMatchPattern.Builder |
excludedHeaders(Collection<String> excludedHeaders)
Inspect only the headers whose keys don't match any of the strings specified here.
|
HeaderMatchPattern.Builder |
excludedHeaders(String... excludedHeaders)
Inspect only the headers whose keys don't match any of the strings specified here.
|
HeaderMatchPattern.Builder |
includedHeaders(Collection<String> includedHeaders)
Inspect only the headers that have a key that matches one of the strings specified here.
|
HeaderMatchPattern.Builder |
includedHeaders(String... includedHeaders)
Inspect only the headers that have a key that matches one of the strings specified here.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildHeaderMatchPattern.Builder all(All all)
Inspect all headers.
all - Inspect all headers.default HeaderMatchPattern.Builder all(Consumer<All.Builder> all)
Inspect all headers.
This is a convenience method that creates an instance of theAll.Builder avoiding the need to create
one manually via All.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to all(All).
all - a consumer that will call methods on All.Builderall(All)HeaderMatchPattern.Builder includedHeaders(Collection<String> includedHeaders)
Inspect only the headers that have a key that matches one of the strings specified here.
includedHeaders - Inspect only the headers that have a key that matches one of the strings specified here.HeaderMatchPattern.Builder includedHeaders(String... includedHeaders)
Inspect only the headers that have a key that matches one of the strings specified here.
includedHeaders - Inspect only the headers that have a key that matches one of the strings specified here.HeaderMatchPattern.Builder excludedHeaders(Collection<String> excludedHeaders)
Inspect only the headers whose keys don't match any of the strings specified here.
excludedHeaders - Inspect only the headers whose keys don't match any of the strings specified here.HeaderMatchPattern.Builder excludedHeaders(String... excludedHeaders)
Inspect only the headers whose keys don't match any of the strings specified here.
excludedHeaders - Inspect only the headers whose keys don't match any of the strings specified here.Copyright © 2023. All rights reserved.