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
TimerStarted
event.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TimerStartedEventAttributes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimerStartedEventAttributes.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 theDecisionTaskCompleted
event corresponding to the decision task that resulted in theStartTimer
decision for this activity task.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends TimerStartedEventAttributes.Builder>
serializableBuilderClass()
String
startToFireTimeout()
The duration of time after which the timer fires.String
timerId()
The unique ID of the timer that was started.TimerStartedEventAttributes.Builder
toBuilder()
String
toString()
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
DecisionTaskCompleted
event corresponding to the decision task that resulted in theStartTimer
decision 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
DecisionTaskCompleted
event corresponding to the decision task that resulted in theStartTimer
decision 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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-