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
Native
Skip to main content

Interface IContentPersonalizationServerComponent2

interface IContentPersonalizationServerComponent2
Extends com.amazon.apmf.IStandard Updated component that provides content personalization server v2 instance and data builders.

Methods

getOrMakeServer2()

IContentPersonalizationServer2* getOrMakeServer2()
Get or Make IContentPersonalizationServer2 singleton.

Returns

IContentPersonalizationServer2* A IContentPersonalizationServer2 object.

Throws

  • InternalError — if any error occurs during content personalization setup e.g. IPC connection, etc.
Example usage:

makeContentEntitlementBuilder()

IContentEntitlementBuilder* makeContentEntitlementBuilder()
Factory function to create a new instance of ContentEntitlementBuilder

Returns

IContentEntitlementBuilder* a pointer to the IContentEntitlementBuilder object created.

makeContentIdBuilder()

IContentIdBuilder* makeContentIdBuilder()
Factory function to create a new instance of ContentIdBuilder

Returns

IContentIdBuilder* a pointer to the IContentIdBuilder object created.

makeContentInteractionBuilder()

IContentInteractionBuilder* makeContentInteractionBuilder()
Factory function to create a new instance of ContentInteractionBuilder

Returns

IContentInteractionBuilder* a pointer to the IContentInteractionBuilder object created.

makeProfileIdBuilder()

IProfileIdBuilder* makeProfileIdBuilder()
Factory function to create a new instance of ProfileIdBuilder

Returns

IProfileIdBuilder* a pointer to the IProfileIdBuilder object created.

makePlaybackEventBuilder()

IPlaybackEventBuilder* makePlaybackEventBuilder()
Factory function to create a new instance of PlaybackEventBuilder

Returns

IPlaybackEventBuilder* a pointer to the IPlaybackEventBuilder2 object created.

makeCustomerListEntryBuilder()

ICustomerListEntryBuilder* makeCustomerListEntryBuilder()
Factory function to create a new instance of CustomerListEntryBuilder

Returns

ICustomerListEntryBuilder* a pointer to the ICustomerListEntryBuilder object created.
Last modified on October 29, 2026