Interface PathMatch.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PathMatch.Builder,PathMatch>,SdkBuilder<PathMatch.Builder,PathMatch>,SdkPojo
- Enclosing class:
- PathMatch
public static interface PathMatch.Builder extends SdkPojo, CopyableBuilder<PathMatch.Builder,PathMatch>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PathMatch.BuildercaseSensitive(Boolean caseSensitive)Indicates whether the match is case sensitive.default PathMatch.Buildermatch(Consumer<PathMatchType.Builder> match)The type of path match.PathMatch.Buildermatch(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, sdkFields
-
-
-
-
Method Detail
-
caseSensitive
PathMatch.Builder caseSensitive(Boolean caseSensitive)
Indicates whether the match is case sensitive. Defaults to false.
- Parameters:
caseSensitive- Indicates whether the match is case sensitive. Defaults to false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
match
PathMatch.Builder match(PathMatchType 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
default PathMatch.Builder match(Consumer<PathMatchType.Builder> match)
The type of path match.
This is a convenience method that creates an instance of thePathMatchType.Builderavoiding the need to create one manually viaPathMatchType.builder().When the
Consumercompletes,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:
match(PathMatchType)
-
-