Interface PathElement.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PathElement.Builder,
,PathElement> SdkBuilder<PathElement.Builder,
,PathElement> SdkPojo
- Enclosing class:
PathElement
public static interface PathElement.Builder
extends SdkPojo, CopyableBuilder<PathElement.Builder,PathElement>
-
Method Summary
Modifier and TypeMethodDescriptionRefers to an index in a JSON array.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.Refers to a substring of a literal string in a JSON object.Refers to the value associated with a given key in a JSON object.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
-
index
Refers to an index in a JSON array.
- Parameters:
index
- Refers to an index in a JSON array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
Refers to a key in a JSON object.
- Parameters:
key
- Refers to a key in a JSON object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
substring
Refers to a substring of a literal string in a JSON object.
- Parameters:
substring
- Refers to a substring of a literal string in a JSON object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaSubstring.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubstring(Substring)
.- Parameters:
substring
- a consumer that will call methods onSubstring.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
value
Refers to the value associated with a given key in a JSON object.
- Parameters:
value
- Refers to the value associated with a given key in a JSON object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-