Interface RuleMatch.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleMatch.Builder,
,RuleMatch> SdkBuilder<RuleMatch.Builder,
,RuleMatch> SdkPojo
- Enclosing class:
RuleMatch
public static interface RuleMatch.Builder
extends SdkPojo, CopyableBuilder<RuleMatch.Builder,RuleMatch>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleMatch.Builder
httpMatch
(Consumer<HttpMatch.Builder> httpMatch) The HTTP criteria that a rule must match.The HTTP criteria that a rule must match.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
-
httpMatch
The HTTP criteria that a rule must match.
- Parameters:
httpMatch
- The HTTP criteria that a rule must match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpMatch
The HTTP criteria that a rule must match.
This is a convenience method that creates an instance of theHttpMatch.Builder
avoiding the need to create one manually viaHttpMatch.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohttpMatch(HttpMatch)
.- Parameters:
httpMatch
- a consumer that will call methods onHttpMatch.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-