Interface ListingItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ListingItem.Builder,
,ListingItem> SdkBuilder<ListingItem.Builder,
,ListingItem> SdkPojo
- Enclosing class:
ListingItem
@Mutable
@NotThreadSafe
public static interface ListingItem.Builder
extends SdkPojo, CopyableBuilder<ListingItem.Builder,ListingItem>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ListingItem.Builder
assetListing
(Consumer<AssetListing.Builder> assetListing) An asset published in an Amazon DataZone catalog.assetListing
(AssetListing assetListing) An asset published in an Amazon DataZone catalog.default ListingItem.Builder
dataProductListing
(Consumer<DataProductListing.Builder> dataProductListing) The data product listing.dataProductListing
(DataProductListing dataProductListing) The data product listing.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
-
assetListing
An asset published in an Amazon DataZone catalog.
- Parameters:
assetListing
- An asset published in an Amazon DataZone catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetListing
An asset published in an Amazon DataZone catalog.
This is a convenience method that creates an instance of theAssetListing.Builder
avoiding the need to create one manually viaAssetListing.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassetListing(AssetListing)
.- Parameters:
assetListing
- a consumer that will call methods onAssetListing.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 ListingItem.Builder dataProductListing(Consumer<DataProductListing.Builder> dataProductListing) The data product listing.
This is a convenience method that creates an instance of theDataProductListing.Builder
avoiding the need to create one manually viaDataProductListing.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataProductListing(DataProductListing)
.- Parameters:
dataProductListing
- a consumer that will call methods onDataProductListing.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-