Interface ActivityTaskFailedEventAttributes.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ActivityTaskFailedEventAttributes.Builder,ActivityTaskFailedEventAttributes>,SdkBuilder<ActivityTaskFailedEventAttributes.Builder,ActivityTaskFailedEventAttributes>,SdkPojo
- Enclosing class:
- ActivityTaskFailedEventAttributes
@Mutable @NotThreadSafe public static interface ActivityTaskFailedEventAttributes.Builder extends SdkPojo, CopyableBuilder<ActivityTaskFailedEventAttributes.Builder,ActivityTaskFailedEventAttributes>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActivityTaskFailedEventAttributes.Builderdetails(String details)The details of the failure.ActivityTaskFailedEventAttributes.Builderreason(String reason)The reason provided for the failure.ActivityTaskFailedEventAttributes.BuilderscheduledEventId(Long scheduledEventId)The ID of theActivityTaskScheduledevent that was recorded when this activity task was scheduled.ActivityTaskFailedEventAttributes.BuilderstartedEventId(Long startedEventId)The ID of theActivityTaskStartedevent recorded when this activity task was started.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
reason
ActivityTaskFailedEventAttributes.Builder reason(String reason)
The reason provided for the failure.
- Parameters:
reason- The reason provided for the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
ActivityTaskFailedEventAttributes.Builder details(String details)
The details of the failure.
- Parameters:
details- The details of the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledEventId
ActivityTaskFailedEventAttributes.Builder scheduledEventId(Long scheduledEventId)
The ID of the
ActivityTaskScheduledevent that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
scheduledEventId- The ID of theActivityTaskScheduledevent that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedEventId
ActivityTaskFailedEventAttributes.Builder startedEventId(Long startedEventId)
The ID of the
ActivityTaskStartedevent recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
startedEventId- The ID of theActivityTaskStartedevent recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-