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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SearchResultItem.BuilderassetListing(Consumer<AssetListingItem.Builder> assetListing)The asset listing included in the results of theSearchListingsaction.SearchResultItem.BuilderassetListing(AssetListingItem assetListing)The asset listing included in the results of theSearchListingsaction.-
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, sdkFields
-
-
-
-
Method Detail
-
assetListing
SearchResultItem.Builder assetListing(AssetListingItem 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
default SearchResultItem.Builder assetListing(Consumer<AssetListingItem.Builder> 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:
assetListing(AssetListingItem)
-
-