Interface RuleMatch.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RuleMatch.Builder,,RuleMatch> SdkBuilder<RuleMatch.Builder,,RuleMatch> SdkPojo
- Enclosing class:
RuleMatch
@Mutable
@NotThreadSafe
public static interface RuleMatch.Builder
extends SdkPojo, CopyableBuilder<RuleMatch.Builder,RuleMatch>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleMatch.BuilderhttpMatch(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.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:
-