Interface SearchResultItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SearchResultItem.Builder,,SearchResultItem> SdkBuilder<SearchResultItem.Builder,,SearchResultItem> SdkPojo
- Enclosing class:
SearchResultItem
public static interface SearchResultItem.Builder
extends SdkPojo, CopyableBuilder<SearchResultItem.Builder,SearchResultItem>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SearchResultItem.BuilderassetListing(Consumer<AssetListingItem.Builder> assetListing) The asset listing included in the results of theSearchListingsaction.assetListing(AssetListingItem assetListing) The asset listing included in the results of theSearchListingsaction.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, sdkFields
-
Method Details
-
assetListing
The asset listing included in the results of the
SearchListingsaction.- Parameters:
assetListing- The asset listing included in the results of theSearchListingsaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetListing
The asset listing included in the results of the
This is a convenience method that creates an instance of theSearchListingsaction.AssetListingItem.Builderavoiding the need to create one manually viaAssetListingItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassetListing(AssetListingItem).- Parameters:
assetListing- a consumer that will call methods onAssetListingItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-