public static interface PathElement.Builder extends SdkPojo, CopyableBuilder<PathElement.Builder,PathElement>
| Modifier and Type | Method and Description |
|---|---|
PathElement.Builder |
index(Integer index)
Refers to an index in a JSON array.
|
PathElement.Builder |
key(String key)
Refers to a key in a JSON object.
|
default PathElement.Builder |
substring(Consumer<Substring.Builder> substring)
Refers to a substring of a literal string in a JSON object.
|
PathElement.Builder |
substring(Substring substring)
Refers to a substring of a literal string in a JSON object.
|
PathElement.Builder |
value(String value)
Refers to the value associated with a given key in a JSON object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPathElement.Builder index(Integer index)
Refers to an index in a JSON array.
index - Refers to an index in a JSON array.PathElement.Builder key(String key)
Refers to a key in a JSON object.
key - Refers to a key in a JSON object.PathElement.Builder substring(Substring substring)
Refers to a substring of a literal string in a JSON object.
substring - Refers to a substring of a literal string in a JSON object.default PathElement.Builder substring(Consumer<Substring.Builder> substring)
Refers to a substring of a literal string in a JSON object.
This is a convenience method that creates an instance of theSubstring.Builder avoiding the need to
create one manually via Substring.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to substring(Substring).substring - a consumer that will call methods on Substring.Buildersubstring(Substring)PathElement.Builder value(String value)
Refers to the value associated with a given key in a JSON object.
value - Refers to the value associated with a given key in a JSON object.Copyright © 2022. All rights reserved.