Interface SubscribedListingItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SubscribedListingItem.Builder,,SubscribedListingItem> SdkBuilder<SubscribedListingItem.Builder,,SubscribedListingItem> SdkPojo
- Enclosing class:
SubscribedListingItem
public static interface SubscribedListingItem.Builder
extends SdkPojo, CopyableBuilder<SubscribedListingItem.Builder,SubscribedListingItem>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SubscribedListingItem.BuilderassetListing(Consumer<SubscribedAssetListing.Builder> assetListing) The asset for which the subscription grant is created.assetListing(SubscribedAssetListing assetListing) The asset for which the subscription grant is created.default SubscribedListingItem.BuilderproductListing(Consumer<SubscribedProductListing.Builder> productListing) The data product listing.productListing(SubscribedProductListing productListing) 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
The asset for which the subscription grant is created.
- Parameters:
assetListing- The asset for which the subscription grant is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetListing
default SubscribedListingItem.Builder assetListing(Consumer<SubscribedAssetListing.Builder> assetListing) The asset for which the subscription grant is created.
This is a convenience method that creates an instance of theSubscribedAssetListing.Builderavoiding the need to create one manually viaSubscribedAssetListing.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassetListing(SubscribedAssetListing).- Parameters:
assetListing- a consumer that will call methods onSubscribedAssetListing.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
productListing
The data product listing.
- Parameters:
productListing- The data product listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productListing
default SubscribedListingItem.Builder productListing(Consumer<SubscribedProductListing.Builder> productListing) The data product listing.
This is a convenience method that creates an instance of theSubscribedProductListing.Builderavoiding the need to create one manually viaSubscribedProductListing.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproductListing(SubscribedProductListing).- Parameters:
productListing- a consumer that will call methods onSubscribedProductListing.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-