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
Modifier and TypeMethodDescriptionheaderMatches
(Collection<HeaderMatch> headerMatches) The header matches.headerMatches
(Consumer<HeaderMatch.Builder>... headerMatches) The header matches.headerMatches
(HeaderMatch... headerMatches) The header matches.The HTTP method type.default HttpMatch.Builder
pathMatch
(Consumer<PathMatch.Builder> pathMatch) The path match.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 Details
-
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
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
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.Builder
avoiding the need to create one manually viaHeaderMatch.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toheaderMatches(List<HeaderMatch>)
.- 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:
-
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
The path match.
- Parameters:
pathMatch
- The path match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pathMatch
The path match.
This is a convenience method that creates an instance of thePathMatch.Builder
avoiding the need to create one manually viaPathMatch.builder()
.When the
Consumer
completes,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:
-