Interface SplitString.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SplitString.Builder,
,SplitString> SdkBuilder<SplitString.Builder,
,SplitString> SdkPojo
- Enclosing class:
SplitString
@Mutable
@NotThreadSafe
public static interface SplitString.Builder
extends SdkPojo, CopyableBuilder<SplitString.Builder,SplitString>
-
Method Summary
Modifier and TypeMethodDescriptionentries
(Collection<SplitStringEntry> entries) An array ofSplitStringEntry
objects, where each object contains the information about one field to split.entries
(Consumer<SplitStringEntry.Builder>... entries) An array ofSplitStringEntry
objects, where each object contains the information about one field to split.entries
(SplitStringEntry... entries) An array ofSplitStringEntry
objects, where each object contains the information about one field to split.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 Details
-
entries
An array of
SplitStringEntry
objects, where each object contains the information about one field to split.- Parameters:
entries
- An array ofSplitStringEntry
objects, where each object contains the information about one field to split.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
An array of
SplitStringEntry
objects, where each object contains the information about one field to split.- Parameters:
entries
- An array ofSplitStringEntry
objects, where each object contains the information about one field to split.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
An array of
This is a convenience method that creates an instance of theSplitStringEntry
objects, where each object contains the information about one field to split.SplitStringEntry.Builder
avoiding the need to create one manually viaSplitStringEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentries(List<SplitStringEntry>)
.- Parameters:
entries
- a consumer that will call methods onSplitStringEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-