Interface ListingItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ListingItem.Builder,,ListingItem> SdkBuilder<ListingItem.Builder,,ListingItem> SdkPojo
- Enclosing class:
ListingItem
public static interface ListingItem.Builder
extends SdkPojo, CopyableBuilder<ListingItem.Builder,ListingItem>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ListingItem.BuilderassetListing(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.BuilderdataProductListing(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
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
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.Builderavoiding the need to create one manually viaAssetListing.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaDataProductListing.builder().When the
Consumercompletes,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:
-