CustomerListEntryBuilder
Builder to create a CustomerListEntry object.
Constructors
new CustomerListEntryBuilder()
new CustomerListEntryBuilder():
CustomerListEntryBuilder
Returns
Methods
addedTimestamp()
addedTimestamp(
addedTimestamp):CustomerListEntryBuilder
Sets the date when the entry was added to the list.
Parameters
addedTimestamp
Date
Date added to list.
Returns
The current CustomerListEntryBuilder object.
build()
build():
CustomerListEntry
Builds a CustomerListEntry object with the fields set on the builder.
Returns
CustomerListEntry
The CustomerListEntry object created.
Throws
InvalidArgumentError if required fields are not set.
contentId()
contentId(
contentId):CustomerListEntryBuilder
Sets the ID, resolvable in the Amazon catalog, of the content for the list entry.
This is a required field. build() will fail if this field is not set.
Parameters
contentId
ID resolvable in the Amazon catalog.
Returns
The current CustomerListEntryBuilder object.
profileId()
profileId(
profileId):CustomerListEntryBuilder
Sets the associated profileId of the user who's list is changing.
Parameters
profileId
The associated profileId of the user.
Returns
The current CustomerListEntryBuilder object.
Last updated: Oct 02, 2025

