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.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.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 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:
-