Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
Builder to create a ContentInteraction object.

Constructors

new ContentInteractionBuilder()

new ContentInteractionBuilder(): ContentInteractionBuilder

Returns

ContentInteractionBuilder

Methods

build()

build(): ContentInteraction Builds a ContentInteraction object with the fields set on the builder.

Returns

ContentInteraction The ContentInteraction object created.

Throws

InvalidArgumentError if required fields are not set.

contentId()

contentId(contentId): ContentInteractionBuilder Sets the ID, resolvable in the Amazon catalog, of the content on which the interaction is performed. This is a required field.build() will fail if this field is not set.

Parameters

contentId
IContentId ID resolvable in the Amazon catalog.

Returns

ContentInteractionBuilder The current ContentInteractionBuilder object.
Last modified on October 2, 2025