Interface PathMatch.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PathMatch.Builder,
,PathMatch> SdkBuilder<PathMatch.Builder,
,PathMatch> SdkPojo
- Enclosing class:
PathMatch
@Mutable
@NotThreadSafe
public static interface PathMatch.Builder
extends SdkPojo, CopyableBuilder<PathMatch.Builder,PathMatch>
-
Method Summary
Modifier and TypeMethodDescriptioncaseSensitive
(Boolean caseSensitive) Indicates whether the match is case sensitive.default PathMatch.Builder
match
(Consumer<PathMatchType.Builder> match) The type of path match.match
(PathMatchType match) The type of 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, sdkFieldNameToField, sdkFields
-
Method Details
-
caseSensitive
Indicates whether the match is case sensitive.
- Parameters:
caseSensitive
- Indicates whether the match is case sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
match
The type of path match.
- Parameters:
match
- The type of path match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
match
The type of path match.
This is a convenience method that creates an instance of thePathMatchType.Builder
avoiding the need to create one manually viaPathMatchType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomatch(PathMatchType)
.- Parameters:
match
- a consumer that will call methods onPathMatchType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-