Interface HeaderMatch.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HeaderMatch.Builder,
,HeaderMatch> SdkBuilder<HeaderMatch.Builder,
,HeaderMatch> SdkPojo
- Enclosing class:
HeaderMatch
@Mutable
@NotThreadSafe
public static interface HeaderMatch.Builder
extends SdkPojo, CopyableBuilder<HeaderMatch.Builder,HeaderMatch>
-
Method Summary
Modifier and TypeMethodDescriptioncaseSensitive
(Boolean caseSensitive) Indicates whether the match is case sensitive.default HeaderMatch.Builder
match
(Consumer<HeaderMatchType.Builder> match) The header match type.match
(HeaderMatchType match) The header match type.The name of the header.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 Details
-
caseSensitive
Indicates whether the match is case sensitive.
- Parameters:
caseSensitive
- Indicates whether the match is case sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
match
The header match type.
- Parameters:
match
- The header match type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
match
The header match type.
This is a convenience method that creates an instance of theHeaderMatchType.Builder
avoiding the need to create one manually viaHeaderMatchType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomatch(HeaderMatchType)
.- Parameters:
match
- a consumer that will call methods onHeaderMatchType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the header.
- Parameters:
name
- The name of the header.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-