StructuredPojo
, ToCopyableBuilder<ActivityTaskScheduledEventAttributes.Builder,ActivityTaskScheduledEventAttributes>
@Generated("software.amazon.awssdk:codegen") public class ActivityTaskScheduledEventAttributes extends Object implements StructuredPojo, ToCopyableBuilder<ActivityTaskScheduledEventAttributes.Builder,ActivityTaskScheduledEventAttributes>
Provides details of the ActivityTaskScheduled
event.
Modifier and Type | Class | Description |
---|---|---|
static interface |
ActivityTaskScheduledEventAttributes.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
activityId() |
The unique ID of the activity task.
|
ActivityType |
activityType() |
The type of the activity task.
|
static ActivityTaskScheduledEventAttributes.Builder |
builder() |
|
String |
control() |
Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks.
|
Long |
decisionTaskCompletedEventId() |
The ID of the
DecisionTaskCompleted event corresponding to the decision that resulted in the
scheduling of this activity task. |
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
heartbeatTimeout() |
The maximum time before which the worker processing this task must report progress by calling
RecordActivityTaskHeartbeat.
|
String |
input() |
The input provided to the activity task.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
scheduleToCloseTimeout() |
The maximum amount of time for this activity task.
|
String |
scheduleToStartTimeout() |
The maximum amount of time the activity task can wait to be assigned to a worker.
|
static Class<? extends ActivityTaskScheduledEventAttributes.Builder> |
serializableBuilderClass() |
|
String |
startToCloseTimeout() |
The maximum amount of time a worker may take to process the activity task.
|
TaskList |
taskList() |
The task list in which the activity task has been scheduled.
|
String |
taskPriority() |
Optional. The priority to assign to the scheduled activity task.
|
ActivityTaskScheduledEventAttributes.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public ActivityType activityType()
The type of the activity task.
public String activityId()
The unique ID of the activity task.
public String input()
The input provided to the activity task.
public String control()
Optional. Data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the activity.
public String scheduleToStartTimeout()
The maximum amount of time the activity task can wait to be assigned to a worker.
public String scheduleToCloseTimeout()
The maximum amount of time for this activity task.
public String startToCloseTimeout()
The maximum amount of time a worker may take to process the activity task.
public TaskList taskList()
The task list in which the activity task has been scheduled.
public String taskPriority()
Optional. The priority to assign to the scheduled activity task. If set, this will override 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 Simple Workflow 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 Simple Workflow Developer Guide
public 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.
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 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 will be ignored.
public ActivityTaskScheduledEventAttributes.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ActivityTaskScheduledEventAttributes.Builder,ActivityTaskScheduledEventAttributes>
public static ActivityTaskScheduledEventAttributes.Builder builder()
public static Class<? extends ActivityTaskScheduledEventAttributes.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.