@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActivityTaskScheduledEventAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Provides the details of the ActivityTaskScheduled
event.
Constructor and Description |
---|
ActivityTaskScheduledEventAttributes() |
Modifier and Type | Method and Description |
---|---|
ActivityTaskScheduledEventAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getActivityId()
The unique ID of the activity task.
|
ActivityType |
getActivityType()
The type of the activity task.
|
String |
getControl()
Data attached to the event that can be used by the decider in subsequent workflow tasks.
|
Long |
getDecisionTaskCompletedEventId()
The ID of the
DecisionTaskCompleted event corresponding to the decision that resulted in the
scheduling of this activity task. |
String |
getHeartbeatTimeout()
The maximum time before which the worker processing this task must report progress by calling
RecordActivityTaskHeartbeat.
|
String |
getInput()
The input provided to the activity task.
|
String |
getScheduleToCloseTimeout()
The maximum amount of time for this activity task.
|
String |
getScheduleToStartTimeout()
The maximum amount of time the activity task can wait to be assigned to a worker.
|
String |
getStartToCloseTimeout()
The maximum amount of time a worker may take to process the activity task.
|
TaskList |
getTaskList()
The task list in which the activity task has been scheduled.
|
String |
getTaskPriority()
The priority to assign to the scheduled activity task.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActivityId(String activityId)
The unique ID of the activity task.
|
void |
setActivityType(ActivityType activityType)
The type of the activity task.
|
void |
setControl(String control)
Data attached to the event that can be used by the decider in subsequent workflow tasks.
|
void |
setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding to the decision that resulted in the
scheduling of this activity task. |
void |
setHeartbeatTimeout(String heartbeatTimeout)
The maximum time before which the worker processing this task must report progress by calling
RecordActivityTaskHeartbeat.
|
void |
setInput(String input)
The input provided to the activity task.
|
void |
setScheduleToCloseTimeout(String scheduleToCloseTimeout)
The maximum amount of time for this activity task.
|
void |
setScheduleToStartTimeout(String scheduleToStartTimeout)
The maximum amount of time the activity task can wait to be assigned to a worker.
|
void |
setStartToCloseTimeout(String startToCloseTimeout)
The maximum amount of time a worker may take to process the activity task.
|
void |
setTaskList(TaskList taskList)
The task list in which the activity task has been scheduled.
|
void |
setTaskPriority(String taskPriority)
The priority to assign to the scheduled activity task.
|
String |
toString()
Returns a string representation of this object.
|
ActivityTaskScheduledEventAttributes |
withActivityId(String activityId)
The unique ID of the activity task.
|
ActivityTaskScheduledEventAttributes |
withActivityType(ActivityType activityType)
The type of the activity task.
|
ActivityTaskScheduledEventAttributes |
withControl(String control)
Data attached to the event that can be used by the decider in subsequent workflow tasks.
|
ActivityTaskScheduledEventAttributes |
withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding to the decision that resulted in the
scheduling of this activity task. |
ActivityTaskScheduledEventAttributes |
withHeartbeatTimeout(String heartbeatTimeout)
The maximum time before which the worker processing this task must report progress by calling
RecordActivityTaskHeartbeat.
|
ActivityTaskScheduledEventAttributes |
withInput(String input)
The input provided to the activity task.
|
ActivityTaskScheduledEventAttributes |
withScheduleToCloseTimeout(String scheduleToCloseTimeout)
The maximum amount of time for this activity task.
|
ActivityTaskScheduledEventAttributes |
withScheduleToStartTimeout(String scheduleToStartTimeout)
The maximum amount of time the activity task can wait to be assigned to a worker.
|
ActivityTaskScheduledEventAttributes |
withStartToCloseTimeout(String startToCloseTimeout)
The maximum amount of time a worker may take to process the activity task.
|
ActivityTaskScheduledEventAttributes |
withTaskList(TaskList taskList)
The task list in which the activity task has been scheduled.
|
ActivityTaskScheduledEventAttributes |
withTaskPriority(String taskPriority)
The priority to assign to the scheduled activity task.
|
public ActivityTaskScheduledEventAttributes()
public void setActivityType(ActivityType activityType)
The type of the activity task.
activityType
- The type of the activity task.public ActivityType getActivityType()
The type of the activity task.
public ActivityTaskScheduledEventAttributes withActivityType(ActivityType activityType)
The type of the activity task.
activityType
- The type of the activity task.public void setActivityId(String activityId)
The unique ID of the activity task.
activityId
- The unique ID of the activity task.public String getActivityId()
The unique ID of the activity task.
public ActivityTaskScheduledEventAttributes withActivityId(String activityId)
The unique ID of the activity task.
activityId
- The unique ID of the activity task.public void setInput(String input)
The input provided to the activity task.
input
- The input provided to the activity task.public String getInput()
The input provided to the activity task.
public ActivityTaskScheduledEventAttributes withInput(String input)
The input provided to the activity task.
input
- The input provided to the activity task.public void setControl(String control)
Data attached to the event that can be used by the decider in subsequent workflow tasks. This data isn't sent to the activity.
control
- Data attached to the event that can be used by the decider in subsequent workflow tasks. This data isn't
sent to the activity.public String getControl()
Data attached to the event that can be used by the decider in subsequent workflow tasks. This data isn't sent to the activity.
public ActivityTaskScheduledEventAttributes withControl(String control)
Data attached to the event that can be used by the decider in subsequent workflow tasks. This data isn't sent to the activity.
control
- Data attached to the event that can be used by the decider in subsequent workflow tasks. This data isn't
sent to the activity.public void setScheduleToStartTimeout(String scheduleToStartTimeout)
The maximum amount of time the activity task can wait to be assigned to a worker.
scheduleToStartTimeout
- The maximum amount of time the activity task can wait to be assigned to a worker.public String getScheduleToStartTimeout()
The maximum amount of time the activity task can wait to be assigned to a worker.
public ActivityTaskScheduledEventAttributes withScheduleToStartTimeout(String scheduleToStartTimeout)
The maximum amount of time the activity task can wait to be assigned to a worker.
scheduleToStartTimeout
- The maximum amount of time the activity task can wait to be assigned to a worker.public void setScheduleToCloseTimeout(String scheduleToCloseTimeout)
The maximum amount of time for this activity task.
scheduleToCloseTimeout
- The maximum amount of time for this activity task.public String getScheduleToCloseTimeout()
The maximum amount of time for this activity task.
public ActivityTaskScheduledEventAttributes withScheduleToCloseTimeout(String scheduleToCloseTimeout)
The maximum amount of time for this activity task.
scheduleToCloseTimeout
- The maximum amount of time for this activity task.public void setStartToCloseTimeout(String startToCloseTimeout)
The maximum amount of time a worker may take to process the activity task.
startToCloseTimeout
- The maximum amount of time a worker may take to process the activity task.public String getStartToCloseTimeout()
The maximum amount of time a worker may take to process the activity task.
public ActivityTaskScheduledEventAttributes withStartToCloseTimeout(String startToCloseTimeout)
The maximum amount of time a worker may take to process the activity task.
startToCloseTimeout
- The maximum amount of time a worker may take to process the activity task.public void setTaskList(TaskList taskList)
The task list in which the activity task has been scheduled.
taskList
- The task list in which the activity task has been scheduled.public TaskList getTaskList()
The task list in which the activity task has been scheduled.
public ActivityTaskScheduledEventAttributes withTaskList(TaskList taskList)
The task list in which the activity task has been scheduled.
taskList
- The task list in which the activity task has been scheduled.public void setTaskPriority(String taskPriority)
The priority to assign to the scheduled activity task. If set, this overrides any default priority value that was assigned when the activity type was registered.
Valid values are integers that range from Java's Integer.MIN_VALUE
(-2147483648) to
Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
taskPriority
- The priority to assign to the scheduled activity task. If set, this overrides any default priority value
that was assigned when the activity type was registered.
Valid values are integers that range from Java's Integer.MIN_VALUE
(-2147483648) to
Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
public String getTaskPriority()
The priority to assign to the scheduled activity task. If set, this overrides any default priority value that was assigned when the activity type was registered.
Valid values are integers that range from Java's Integer.MIN_VALUE
(-2147483648) to
Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
Valid values are integers that range from Java's Integer.MIN_VALUE
(-2147483648) to
Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
public ActivityTaskScheduledEventAttributes withTaskPriority(String taskPriority)
The priority to assign to the scheduled activity task. If set, this overrides any default priority value that was assigned when the activity type was registered.
Valid values are integers that range from Java's Integer.MIN_VALUE
(-2147483648) to
Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
taskPriority
- The priority to assign to the scheduled activity task. If set, this overrides any default priority value
that was assigned when the activity type was registered.
Valid values are integers that range from Java's Integer.MIN_VALUE
(-2147483648) to
Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
public void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the DecisionTaskCompleted
event corresponding to the decision that resulted in the
scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the
chain of events leading up to this event.
decisionTaskCompletedEventId
- The ID of the DecisionTaskCompleted
event corresponding to the decision that resulted in the
scheduling of this activity task. This information can be useful for diagnosing problems by tracing back
the chain of events leading up to this event.public Long getDecisionTaskCompletedEventId()
The ID of the DecisionTaskCompleted
event corresponding to the decision that resulted in the
scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the
chain of events leading up to this event.
DecisionTaskCompleted
event corresponding to the decision that resulted in the
scheduling of this activity task. This information can be useful for diagnosing problems by tracing back
the chain of events leading up to this event.public ActivityTaskScheduledEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the DecisionTaskCompleted
event corresponding to the decision that resulted in the
scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the
chain of events leading up to this event.
decisionTaskCompletedEventId
- The ID of the DecisionTaskCompleted
event corresponding to the decision that resulted in the
scheduling of this activity task. This information can be useful for diagnosing problems by tracing back
the chain of events leading up to this event.public void setHeartbeatTimeout(String heartbeatTimeout)
The maximum time before which the worker processing this task must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or return a result, it is ignored.
heartbeatTimeout
- The maximum time before which the worker processing this task must report progress by calling
RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed
out. If the worker subsequently attempts to record a heartbeat or return a result, it is ignored.public String getHeartbeatTimeout()
The maximum time before which the worker processing this task must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or return a result, it is ignored.
public ActivityTaskScheduledEventAttributes withHeartbeatTimeout(String heartbeatTimeout)
The maximum time before which the worker processing this task must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or return a result, it is ignored.
heartbeatTimeout
- The maximum time before which the worker processing this task must report progress by calling
RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed
out. If the worker subsequently attempts to record a heartbeat or return a result, it is ignored.public String toString()
toString
in class Object
Object.toString()
public ActivityTaskScheduledEventAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.