Interface JsonMatchPattern.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<JsonMatchPattern.Builder,,JsonMatchPattern> SdkBuilder<JsonMatchPattern.Builder,,JsonMatchPattern> SdkPojo
- Enclosing class:
JsonMatchPattern
-
Method Summary
Modifier and TypeMethodDescriptiondefault JsonMatchPattern.Builderall(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
all
Match all of the elements. See also
MatchScopein JsonBody.You must specify either this setting or the
IncludedPathssetting, but not both.- Parameters:
all- Match all of the elements. See alsoMatchScopein JsonBody.You must specify either this setting or the
IncludedPathssetting, 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
MatchScopein JsonBody.You must specify either this setting or the
This is a convenience method that creates an instance of theIncludedPathssetting, but not both.All.Builderavoiding the need to create one manually viaAll.builder().When the
Consumercompletes,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
MatchScopein 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
Allsetting, but not both.Don't use this option to include all paths. Instead, use the
Allsetting.- Parameters:
includedPaths- Match only the specified include paths. See alsoMatchScopein 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
Allsetting, but not both.Don't use this option to include all paths. Instead, use the
Allsetting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includedPaths
Match only the specified include paths. See also
MatchScopein 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
Allsetting, but not both.Don't use this option to include all paths. Instead, use the
Allsetting.- Parameters:
includedPaths- Match only the specified include paths. See alsoMatchScopein 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
Allsetting, but not both.Don't use this option to include all paths. Instead, use the
Allsetting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-