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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RuleMatch.BuilderhttpMatch(Consumer<HttpMatch.Builder> httpMatch)The HTTP criteria that a rule must match.RuleMatch.BuilderhttpMatch(HttpMatch httpMatch)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 Detail
-
httpMatch
RuleMatch.Builder httpMatch(HttpMatch 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
default RuleMatch.Builder httpMatch(Consumer<HttpMatch.Builder> httpMatch)
The HTTP criteria that a rule must match.
This is a convenience method that creates an instance of theHttpMatch.Builderavoiding the need to create one manually viaHttpMatch.builder().When the
Consumercompletes,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:
httpMatch(HttpMatch)
-
-