PromotionalMedia
Embedded promotional media for a product, such as images or videos. Each element contains exactly one media type.
Inheritors
Types
Functions
Casts this PromotionalMedia as a EmbeddedImage and retrieves its aws.sdk.kotlin.services.marketplacediscovery.model.PromotionalEmbeddedImage value. Throws an exception if the PromotionalMedia is not a EmbeddedImage.
Casts this PromotionalMedia as a EmbeddedImage and retrieves its aws.sdk.kotlin.services.marketplacediscovery.model.PromotionalEmbeddedImage value. Returns null if the PromotionalMedia is not a EmbeddedImage.
Casts this PromotionalMedia as a EmbeddedVideo and retrieves its aws.sdk.kotlin.services.marketplacediscovery.model.PromotionalEmbeddedVideo value. Throws an exception if the PromotionalMedia is not a EmbeddedVideo.
Casts this PromotionalMedia as a EmbeddedVideo and retrieves its aws.sdk.kotlin.services.marketplacediscovery.model.PromotionalEmbeddedVideo value. Returns null if the PromotionalMedia is not a EmbeddedVideo.