Interface HeaderMatchMethod.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<HeaderMatchMethod.Builder,HeaderMatchMethod>,SdkBuilder<HeaderMatchMethod.Builder,HeaderMatchMethod>,SdkPojo
- Enclosing class:
- HeaderMatchMethod
public static interface HeaderMatchMethod.Builder extends SdkPojo, CopyableBuilder<HeaderMatchMethod.Builder,HeaderMatchMethod>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description HeaderMatchMethod.Builderexact(String exact)The value sent by the client must match the specified value exactly.HeaderMatchMethod.Builderprefix(String prefix)The value sent by the client must begin with the specified characters.default HeaderMatchMethod.Builderrange(Consumer<MatchRange.Builder> range)An object that represents the range of values to match on.HeaderMatchMethod.Builderrange(MatchRange range)An object that represents the range of values to match on.HeaderMatchMethod.Builderregex(String regex)The value sent by the client must include the specified characters.HeaderMatchMethod.Buildersuffix(String suffix)The value sent by the client must end with the specified characters.-
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
-
exact
HeaderMatchMethod.Builder exact(String exact)
The value sent by the client must match the specified value exactly.
- Parameters:
exact- The value sent by the client must match the specified value exactly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefix
HeaderMatchMethod.Builder prefix(String prefix)
The value sent by the client must begin with the specified characters.
- Parameters:
prefix- The value sent by the client must begin with the specified characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
range
HeaderMatchMethod.Builder range(MatchRange range)
An object that represents the range of values to match on.
- Parameters:
range- An object that represents the range of values to match on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
range
default HeaderMatchMethod.Builder range(Consumer<MatchRange.Builder> range)
An object that represents the range of values to match on.
This is a convenience method that creates an instance of theMatchRange.Builderavoiding the need to create one manually viaMatchRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torange(MatchRange).- Parameters:
range- a consumer that will call methods onMatchRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
range(MatchRange)
-
regex
HeaderMatchMethod.Builder regex(String regex)
The value sent by the client must include the specified characters.
- Parameters:
regex- The value sent by the client must include the specified characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suffix
HeaderMatchMethod.Builder suffix(String suffix)
The value sent by the client must end with the specified characters.
- Parameters:
suffix- The value sent by the client must end with the specified characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-