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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListingItem.BuilderassetListing(Consumer<AssetListing.Builder> assetListing)An asset published in an Amazon DataZone catalog.ListingItem.BuilderassetListing(AssetListing assetListing)An asset published in an Amazon DataZone catalog.-
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
ListingItem.Builder assetListing(AssetListing 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
default ListingItem.Builder assetListing(Consumer<AssetListing.Builder> 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:
assetListing(AssetListing)
-
-