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 ContentEntitlement object.

Constructors

new ContentEntitlementBuilder()

new ContentEntitlementBuilder(): ContentEntitlementBuilder

Returns

ContentEntitlementBuilder

Methods

acquisitionTimestamp()

acquisitionTimestamp(acquisitionTimestamp): ContentEntitlementBuilder Sets the date the entitlement was acquired.

Parameters

acquisitionTimestamp
Date Acquisition date.

Returns

ContentEntitlementBuilder The current ContentEntitlementBuilder object.

build()

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

Returns

ContentEntitlement The ContentEntitlement object created.

Throws

InvalidArgumentError if required fields are not set.
Last modified on October 2, 2025