Class TimerStartedEventAttributes
- java.lang.Object
-
- software.amazon.awssdk.services.swf.model.TimerStartedEventAttributes
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TimerStartedEventAttributes.Builder,TimerStartedEventAttributes>
@Generated("software.amazon.awssdk:codegen") public final class TimerStartedEventAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TimerStartedEventAttributes.Builder,TimerStartedEventAttributes>
Provides the details of the
TimerStartedevent.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTimerStartedEventAttributes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimerStartedEventAttributes.Builderbuilder()Stringcontrol()Data attached to the event that can be used by the decider in subsequent workflow tasks.LongdecisionTaskCompletedEventId()The ID of theDecisionTaskCompletedevent corresponding to the decision task that resulted in theStartTimerdecision for this activity task.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends TimerStartedEventAttributes.Builder>serializableBuilderClass()StringstartToFireTimeout()The duration of time after which the timer fires.StringtimerId()The unique ID of the timer that was started.TimerStartedEventAttributes.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
timerId
public final String timerId()
The unique ID of the timer that was started.
- Returns:
- The unique ID of the timer that was started.
-
control
public final String control()
Data attached to the event that can be used by the decider in subsequent workflow tasks.
- Returns:
- Data attached to the event that can be used by the decider in subsequent workflow tasks.
-
startToFireTimeout
public final String startToFireTimeout()
The duration of time after which the timer fires.
The duration is specified in seconds, an integer greater than or equal to
0.- Returns:
- The duration of time after which the timer fires.
The duration is specified in seconds, an integer greater than or equal to
0.
-
decisionTaskCompletedEventId
public final Long decisionTaskCompletedEventId()
The ID of the
DecisionTaskCompletedevent corresponding to the decision task that resulted in theStartTimerdecision 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:
- The ID of the
DecisionTaskCompletedevent corresponding to the decision task that resulted in theStartTimerdecision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
toBuilder
public TimerStartedEventAttributes.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TimerStartedEventAttributes.Builder,TimerStartedEventAttributes>
-
builder
public static TimerStartedEventAttributes.Builder builder()
-
serializableBuilderClass
public static Class<? extends TimerStartedEventAttributes.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-