@Generated(value="software.amazon.awssdk:codegen") public final class ActivityTaskScheduledEventAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ActivityTaskScheduledEventAttributes.Builder,ActivityTaskScheduledEventAttributes>
Provides the details of the ActivityTaskScheduled
event.
Modifier and Type | Class and Description |
---|---|
static interface |
ActivityTaskScheduledEventAttributes.Builder |
Modifier and Type | Method and Description |
---|---|
String |
activityId()
The unique ID of the activity task.
|
ActivityType |
activityType()
The type of the activity task.
|
static ActivityTaskScheduledEventAttributes.Builder |
builder() |
String |
control()
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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
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.
|
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.
|
List<SdkField<?>> |
sdkFields() |
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()
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() |
copy
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()
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 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()
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 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 is 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()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.