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
Modifier and TypeMethodDescriptionThe value sent by the client must match the specified value exactly.The value sent by the client must begin with the specified characters.default HeaderMatchMethod.Builder
range
(Consumer<MatchRange.Builder> range) An object that represents the range of values to match on.range
(MatchRange range) An object that represents the range of values to match on.The value sent by the client must include the specified characters.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 Details
-
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
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
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
An object that represents the range of values to match on.
This is a convenience method that creates an instance of theMatchRange.Builder
avoiding the need to create one manually viaMatchRange.builder()
.When the
Consumer
completes,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:
-
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
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.
-