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.Buildermatch(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
-
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.Builderavoiding the need to create one manually viaHeaderMatchType.builder().When the
Consumercompletes,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:
-
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.
-