Interface SplitString.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<SplitString.Builder,SplitString>
,SdkBuilder<SplitString.Builder,SplitString>
,SdkPojo
- Enclosing class:
- SplitString
public static interface SplitString.Builder extends SdkPojo, CopyableBuilder<SplitString.Builder,SplitString>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SplitString.Builder
entries(Collection<SplitStringEntry> entries)
An array ofSplitStringEntry
objects, where each object contains the information about one field to split.SplitString.Builder
entries(Consumer<SplitStringEntry.Builder>... entries)
An array ofSplitStringEntry
objects, where each object contains the information about one field to split.SplitString.Builder
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 Detail
-
entries
SplitString.Builder entries(Collection<SplitStringEntry> 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
SplitString.Builder entries(SplitStringEntry... 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
SplitString.Builder entries(Consumer<SplitStringEntry.Builder>... 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 to#entries(List
.) - 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:
#entries(java.util.Collection
)
-
-