Interface HttpMatch.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<HttpMatch.Builder,HttpMatch>,SdkBuilder<HttpMatch.Builder,HttpMatch>,SdkPojo
- Enclosing class:
- HttpMatch
public static interface HttpMatch.Builder extends SdkPojo, CopyableBuilder<HttpMatch.Builder,HttpMatch>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description HttpMatch.BuilderheaderMatches(Collection<HeaderMatch> headerMatches)The header matches.HttpMatch.BuilderheaderMatches(Consumer<HeaderMatch.Builder>... headerMatches)The header matches.HttpMatch.BuilderheaderMatches(HeaderMatch... headerMatches)The header matches.HttpMatch.Buildermethod(String method)The HTTP method type.default HttpMatch.BuilderpathMatch(Consumer<PathMatch.Builder> pathMatch)The path match.HttpMatch.BuilderpathMatch(PathMatch pathMatch)The path 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
-
headerMatches
HttpMatch.Builder headerMatches(Collection<HeaderMatch> headerMatches)
The header matches. Matches incoming requests with rule based on request header value before applying rule action.
- Parameters:
headerMatches- The header matches. Matches incoming requests with rule based on request header value before applying rule action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
headerMatches
HttpMatch.Builder headerMatches(HeaderMatch... headerMatches)
The header matches. Matches incoming requests with rule based on request header value before applying rule action.
- Parameters:
headerMatches- The header matches. Matches incoming requests with rule based on request header value before applying rule action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
headerMatches
HttpMatch.Builder headerMatches(Consumer<HeaderMatch.Builder>... headerMatches)
The header matches. Matches incoming requests with rule based on request header value before applying rule action.
This is a convenience method that creates an instance of theHeaderMatch.Builderavoiding the need to create one manually viaHeaderMatch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#headerMatches(List.) - Parameters:
headerMatches- a consumer that will call methods onHeaderMatch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#headerMatches(java.util.Collection)
-
method
HttpMatch.Builder method(String method)
The HTTP method type.
- Parameters:
method- The HTTP method type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pathMatch
HttpMatch.Builder pathMatch(PathMatch pathMatch)
The path match.
- Parameters:
pathMatch- The path match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pathMatch
default HttpMatch.Builder pathMatch(Consumer<PathMatch.Builder> pathMatch)
The path match.
This is a convenience method that creates an instance of thePathMatch.Builderavoiding the need to create one manually viaPathMatch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topathMatch(PathMatch).- Parameters:
pathMatch- a consumer that will call methods onPathMatch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
pathMatch(PathMatch)
-
-