Interface SearchInventoryResultItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SearchInventoryResultItem.Builder,
,SearchInventoryResultItem> SdkBuilder<SearchInventoryResultItem.Builder,
,SearchInventoryResultItem> SdkPojo
- Enclosing class:
SearchInventoryResultItem
-
Method Summary
Modifier and TypeMethodDescriptionassetItem
(Consumer<AssetItem.Builder> assetItem) The asset item included in the search results.The asset item included in the search results.dataProductItem
(Consumer<DataProductResultItem.Builder> dataProductItem) The data product.dataProductItem
(DataProductResultItem dataProductItem) The data product.glossaryItem
(Consumer<GlossaryItem.Builder> glossaryItem) The glossary item included in the search results.glossaryItem
(GlossaryItem glossaryItem) The glossary item included in the search results.glossaryTermItem
(Consumer<GlossaryTermItem.Builder> glossaryTermItem) The glossary term item included in the search results.glossaryTermItem
(GlossaryTermItem glossaryTermItem) The glossary term item included in the search results.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
-
assetItem
The asset item included in the search results.
- Parameters:
assetItem
- The asset item included in the search results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetItem
The asset item included in the search results.
This is a convenience method that creates an instance of theAssetItem.Builder
avoiding the need to create one manually viaAssetItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassetItem(AssetItem)
.- Parameters:
assetItem
- a consumer that will call methods onAssetItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataProductItem
The data product.
- Parameters:
dataProductItem
- The data product.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataProductItem
default SearchInventoryResultItem.Builder dataProductItem(Consumer<DataProductResultItem.Builder> dataProductItem) The data product.
This is a convenience method that creates an instance of theDataProductResultItem.Builder
avoiding the need to create one manually viaDataProductResultItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataProductItem(DataProductResultItem)
.- Parameters:
dataProductItem
- a consumer that will call methods onDataProductResultItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
glossaryItem
The glossary item included in the search results.
- Parameters:
glossaryItem
- The glossary item included in the search results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
glossaryItem
The glossary item included in the search results.
This is a convenience method that creates an instance of theGlossaryItem.Builder
avoiding the need to create one manually viaGlossaryItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toglossaryItem(GlossaryItem)
.- Parameters:
glossaryItem
- a consumer that will call methods onGlossaryItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
glossaryTermItem
The glossary term item included in the search results.
- Parameters:
glossaryTermItem
- The glossary term item included in the search results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
glossaryTermItem
default SearchInventoryResultItem.Builder glossaryTermItem(Consumer<GlossaryTermItem.Builder> glossaryTermItem) The glossary term item included in the search results.
This is a convenience method that creates an instance of theGlossaryTermItem.Builder
avoiding the need to create one manually viaGlossaryTermItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toglossaryTermItem(GlossaryTermItem)
.- Parameters:
glossaryTermItem
- a consumer that will call methods onGlossaryTermItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-