CopyableBuilder<ScheduleActivityTaskFailedEventAttributes.Builder,ScheduleActivityTaskFailedEventAttributes>
, SdkBuilder<ScheduleActivityTaskFailedEventAttributes.Builder,ScheduleActivityTaskFailedEventAttributes>
public static interface ScheduleActivityTaskFailedEventAttributes.Builder extends CopyableBuilder<ScheduleActivityTaskFailedEventAttributes.Builder,ScheduleActivityTaskFailedEventAttributes>
Modifier and Type | Method | Description |
---|---|---|
ScheduleActivityTaskFailedEventAttributes.Builder |
activityId(String activityId) |
The activityId provided in the
ScheduleActivityTask decision that failed. |
ScheduleActivityTaskFailedEventAttributes.Builder |
activityType(ActivityType activityType) |
The activity type provided in the
ScheduleActivityTask decision that failed. |
ScheduleActivityTaskFailedEventAttributes.Builder |
cause(String cause) |
The cause of the failure.
|
ScheduleActivityTaskFailedEventAttributes.Builder |
cause(ScheduleActivityTaskFailedCause cause) |
The cause of the failure.
|
ScheduleActivityTaskFailedEventAttributes.Builder |
decisionTaskCompletedEventId(Long decisionTaskCompletedEventId) |
The ID of the
DecisionTaskCompleted event corresponding to the decision that resulted in the
scheduling of this activity task. |
copy
apply, build
ScheduleActivityTaskFailedEventAttributes.Builder activityType(ActivityType activityType)
The activity type provided in the ScheduleActivityTask
decision that failed.
activityType
- The activity type provided in the ScheduleActivityTask
decision that failed.ScheduleActivityTaskFailedEventAttributes.Builder activityId(String activityId)
The activityId provided in the ScheduleActivityTask
decision that failed.
activityId
- The activityId provided in the ScheduleActivityTask
decision that failed.ScheduleActivityTaskFailedEventAttributes.Builder cause(String cause)
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
cause
- The cause of the failure. This information is generated by the system and can be useful for diagnostic
purposes. ScheduleActivityTaskFailedCause
ScheduleActivityTaskFailedEventAttributes.Builder cause(ScheduleActivityTaskFailedCause cause)
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
cause
- The cause of the failure. This information is generated by the system and can be useful for diagnostic
purposes. ScheduleActivityTaskFailedCause
ScheduleActivityTaskFailedEventAttributes.Builder decisionTaskCompletedEventId(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.