Interface MatchRationaleItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MatchRationaleItem.Builder,
,MatchRationaleItem> SdkBuilder<MatchRationaleItem.Builder,
,MatchRationaleItem> SdkPojo
- Enclosing class:
MatchRationaleItem
@Mutable
@NotThreadSafe
public static interface MatchRationaleItem.Builder
extends SdkPojo, CopyableBuilder<MatchRationaleItem.Builder,MatchRationaleItem>
-
Method Summary
Modifier and TypeMethodDescriptiontextMatches
(Collection<TextMatchItem> textMatches) A list of TextMatchItems.textMatches
(Consumer<TextMatchItem.Builder>... textMatches) A list of TextMatchItems.textMatches
(TextMatchItem... textMatches) A list of TextMatchItems.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
-
textMatches
A list of TextMatchItems.
- Parameters:
textMatches
- A list of TextMatchItems.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textMatches
A list of TextMatchItems.
- Parameters:
textMatches
- A list of TextMatchItems.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textMatches
A list of TextMatchItems.
This is a convenience method that creates an instance of theTextMatchItem.Builder
avoiding the need to create one manually viaTextMatchItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totextMatches(List<TextMatchItem>)
.- Parameters:
textMatches
- a consumer that will call methods onTextMatchItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-