Interface ActivityTaskCanceledEventAttributes.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ActivityTaskCanceledEventAttributes.Builder,ActivityTaskCanceledEventAttributes>,SdkBuilder<ActivityTaskCanceledEventAttributes.Builder,ActivityTaskCanceledEventAttributes>,SdkPojo
- Enclosing class:
- ActivityTaskCanceledEventAttributes
public static interface ActivityTaskCanceledEventAttributes.Builder extends SdkPojo, CopyableBuilder<ActivityTaskCanceledEventAttributes.Builder,ActivityTaskCanceledEventAttributes>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActivityTaskCanceledEventAttributes.Builderdetails(String details)Details of the cancellation.ActivityTaskCanceledEventAttributes.BuilderlatestCancelRequestedEventId(Long latestCancelRequestedEventId)If set, contains the ID of the lastActivityTaskCancelRequestedevent recorded for this activity task.ActivityTaskCanceledEventAttributes.BuilderscheduledEventId(Long scheduledEventId)The ID of theActivityTaskScheduledevent that was recorded when this activity task was scheduled.ActivityTaskCanceledEventAttributes.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, sdkFields
-
-
-
-
Method Detail
-
details
ActivityTaskCanceledEventAttributes.Builder details(String details)
Details of the cancellation.
- Parameters:
details- Details of the cancellation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledEventId
ActivityTaskCanceledEventAttributes.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
ActivityTaskCanceledEventAttributes.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.
-
latestCancelRequestedEventId
ActivityTaskCanceledEventAttributes.Builder latestCancelRequestedEventId(Long latestCancelRequestedEventId)
If set, contains the ID of the last
ActivityTaskCancelRequestedevent recorded for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
latestCancelRequestedEventId- If set, contains the ID of the lastActivityTaskCancelRequestedevent recorded for this activity task. 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.
-
-