Interface HeaderMatch.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<HeaderMatch.Builder,HeaderMatch>,SdkBuilder<HeaderMatch.Builder,HeaderMatch>,SdkPojo
- Enclosing class:
- HeaderMatch
public static interface HeaderMatch.Builder extends SdkPojo, CopyableBuilder<HeaderMatch.Builder,HeaderMatch>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description HeaderMatch.BuildercaseSensitive(Boolean caseSensitive)Indicates whether the match is case sensitive.default HeaderMatch.Buildermatch(Consumer<HeaderMatchType.Builder> match)The header match type.HeaderMatch.Buildermatch(HeaderMatchType match)The header match type.HeaderMatch.Buildername(String name)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, sdkFields
-
-
-
-
Method Detail
-
caseSensitive
HeaderMatch.Builder caseSensitive(Boolean caseSensitive)
Indicates whether the match is case sensitive. Defaults to false.
- Parameters:
caseSensitive- Indicates whether the match is case sensitive. Defaults to false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
match
HeaderMatch.Builder match(HeaderMatchType 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
default HeaderMatch.Builder match(Consumer<HeaderMatchType.Builder> 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:
match(HeaderMatchType)
-
name
HeaderMatch.Builder name(String 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.
-
-