Interface JsonMatchPattern.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<JsonMatchPattern.Builder,JsonMatchPattern>,SdkBuilder<JsonMatchPattern.Builder,JsonMatchPattern>,SdkPojo
- Enclosing class:
- JsonMatchPattern
public static interface JsonMatchPattern.Builder extends SdkPojo, CopyableBuilder<JsonMatchPattern.Builder,JsonMatchPattern>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default JsonMatchPattern.Builderall(Consumer<All.Builder> all)Match all of the elements.JsonMatchPattern.Builderall(All all)Match all of the elements.JsonMatchPattern.BuilderincludedPaths(String... includedPaths)Match only the specified include paths.JsonMatchPattern.BuilderincludedPaths(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
all
JsonMatchPattern.Builder all(All 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
default JsonMatchPattern.Builder all(Consumer<All.Builder> 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:
all(All)
-
includedPaths
JsonMatchPattern.Builder includedPaths(Collection<String> 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
JsonMatchPattern.Builder includedPaths(String... 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.
-
-