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 ofSplitStringEntryobjects, where each object contains the information about one field to split.entries(Consumer<SplitStringEntry.Builder>... entries) An array ofSplitStringEntryobjects, where each object contains the information about one field to split.entries(SplitStringEntry... entries) An array ofSplitStringEntryobjects, where each object contains the information about one field to split.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
entries
An array of
SplitStringEntryobjects, where each object contains the information about one field to split.- Parameters:
entries- An array ofSplitStringEntryobjects, 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
SplitStringEntryobjects, where each object contains the information about one field to split.- Parameters:
entries- An array ofSplitStringEntryobjects, 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 theSplitStringEntryobjects, where each object contains the information about one field to split.SplitStringEntry.Builderavoiding the need to create one manually viaSplitStringEntry.builder().When the
Consumercompletes,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:
-