Interface JsonMatchPattern.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JsonMatchPattern.Builder,
,JsonMatchPattern> SdkBuilder<JsonMatchPattern.Builder,
,JsonMatchPattern> SdkPojo
- Enclosing class:
JsonMatchPattern
-
Method Summary
Modifier and TypeMethodDescriptiondefault JsonMatchPattern.Builder
all
(Consumer<All.Builder> all) Match all of the elements.Match all of the elements.includedPaths
(String... includedPaths) Match only the specified include paths.includedPaths
(Collection<String> includedPaths) Match only the specified include paths.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
-
all
Match all of the elements. See also
MatchScope
in JsonBody.You must specify either this setting or the
IncludedPaths
setting, but not both.- Parameters:
all
- Match all of the elements. See alsoMatchScope
in JsonBody.You must specify either this setting or the
IncludedPaths
setting, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
all
Match all of the elements. See also
MatchScope
in JsonBody.You must specify either this setting or the
This is a convenience method that creates an instance of theIncludedPaths
setting, but not both.All.Builder
avoiding the need to create one manually viaAll.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toall(All)
.- Parameters:
all
- a consumer that will call methods onAll.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
includedPaths
Match only the specified include paths. See also
MatchScope
in JsonBody.Provide the include paths using JSON Pointer syntax. For example,
"IncludedPaths": ["/dogs/0/name", "/dogs/1/name"]
. For information about this syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.You must specify either this setting or the
All
setting, but not both.Don't use this option to include all paths. Instead, use the
All
setting.- Parameters:
includedPaths
- Match only the specified include paths. See alsoMatchScope
in JsonBody.Provide the include paths using JSON Pointer syntax. For example,
"IncludedPaths": ["/dogs/0/name", "/dogs/1/name"]
. For information about this syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.You must specify either this setting or the
All
setting, but not both.Don't use this option to include all paths. Instead, use the
All
setting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includedPaths
Match only the specified include paths. See also
MatchScope
in JsonBody.Provide the include paths using JSON Pointer syntax. For example,
"IncludedPaths": ["/dogs/0/name", "/dogs/1/name"]
. For information about this syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.You must specify either this setting or the
All
setting, but not both.Don't use this option to include all paths. Instead, use the
All
setting.- Parameters:
includedPaths
- Match only the specified include paths. See alsoMatchScope
in JsonBody.Provide the include paths using JSON Pointer syntax. For example,
"IncludedPaths": ["/dogs/0/name", "/dogs/1/name"]
. For information about this syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.You must specify either this setting or the
All
setting, but not both.Don't use this option to include all paths. Instead, use the
All
setting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-