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 ITaskRequest

interface ITaskRequest
Extends com.amazon.apmf.IStandard The ITaskRequest describes the execution parameters of a Task. Use the ITaskRequestBuilder to create an object that conforms to ITaskRequest.

Methods

getComponentName()

string getComponentName()
Get the Task component name.

Returns

string the string identifier of the Task component associated with this Task.

getName()

string getName()
Get the unique name of this task. If the name is not set by the user, the task name is the system generated Uuid.

Returns

string The unique task name.

getData()

com.amazon.apmf.IStandard? getData()
Retrieve the strongly typed input payload supplied in the ITaskRequest. The specific payload type must be defined out of band.

Returns

com.amazon.apmf.IStandard? The return value is optional and might be absent. The optional data object.
Last modified on October 29, 2026