Interface GlossaryItemAdditionalAttributes.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GlossaryItemAdditionalAttributes.Builder,
,GlossaryItemAdditionalAttributes> SdkBuilder<GlossaryItemAdditionalAttributes.Builder,
,GlossaryItemAdditionalAttributes> SdkPojo
- Enclosing class:
GlossaryItemAdditionalAttributes
@Mutable
@NotThreadSafe
public static interface GlossaryItemAdditionalAttributes.Builder
extends SdkPojo, CopyableBuilder<GlossaryItemAdditionalAttributes.Builder,GlossaryItemAdditionalAttributes>
-
Method Summary
Modifier and TypeMethodDescriptionmatchRationale
(Collection<MatchRationaleItem> matchRationale) List of rationales indicating why this item was matched by search.matchRationale
(Consumer<MatchRationaleItem.Builder>... matchRationale) List of rationales indicating why this item was matched by search.matchRationale
(MatchRationaleItem... matchRationale) List of rationales indicating why this item was matched by search.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
-
matchRationale
GlossaryItemAdditionalAttributes.Builder matchRationale(Collection<MatchRationaleItem> matchRationale) List of rationales indicating why this item was matched by search.
- Parameters:
matchRationale
- List of rationales indicating why this item was matched by search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchRationale
List of rationales indicating why this item was matched by search.
- Parameters:
matchRationale
- List of rationales indicating why this item was matched by search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchRationale
GlossaryItemAdditionalAttributes.Builder matchRationale(Consumer<MatchRationaleItem.Builder>... matchRationale) List of rationales indicating why this item was matched by search.
This is a convenience method that creates an instance of theMatchRationaleItem.Builder
avoiding the need to create one manually viaMatchRationaleItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomatchRationale(List<MatchRationaleItem>)
.- Parameters:
matchRationale
- a consumer that will call methods onMatchRationaleItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-