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.default SearchResultItem.BuilderdataProductListing(Consumer<DataProductListingItem.Builder> dataProductListing) The data product listing.dataProductListing(DataProductListingItem dataProductListing) The data product listing.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:
-
dataProductListing
The data product listing.
- Parameters:
dataProductListing- The data product listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataProductListing
default SearchResultItem.Builder dataProductListing(Consumer<DataProductListingItem.Builder> dataProductListing) The data product listing.
This is a convenience method that creates an instance of theDataProductListingItem.Builderavoiding the need to create one manually viaDataProductListingItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataProductListing(DataProductListingItem).- Parameters:
dataProductListing- a consumer that will call methods onDataProductListingItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-