Interface DataProductListingItemAdditionalAttributes.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataProductListingItemAdditionalAttributes.Builder,
,DataProductListingItemAdditionalAttributes> SdkBuilder<DataProductListingItemAdditionalAttributes.Builder,
,DataProductListingItemAdditionalAttributes> SdkPojo
- Enclosing class:
DataProductListingItemAdditionalAttributes
@Mutable
@NotThreadSafe
public static interface DataProductListingItemAdditionalAttributes.Builder
extends SdkPojo, CopyableBuilder<DataProductListingItemAdditionalAttributes.Builder,DataProductListingItemAdditionalAttributes>
-
Method Summary
Modifier and TypeMethodDescriptionThe metadata forms of the asset of the data product.matchRationale
(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
-
forms
The metadata forms of the asset of the data product.
- Parameters:
forms
- The metadata forms of the asset of the data product.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchRationale
DataProductListingItemAdditionalAttributes.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
DataProductListingItemAdditionalAttributes.Builder matchRationale(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
DataProductListingItemAdditionalAttributes.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:
-