Class DecisionTaskScheduledEventAttributes
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DecisionTaskScheduledEventAttributes.Builder,DecisionTaskScheduledEventAttributes>
Provides details about the DecisionTaskScheduled event.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe maximum amount of time the decision task can wait to be assigned to a worker.static Class<? extends DecisionTaskScheduledEventAttributes.Builder> final StringThe maximum duration for this decision task.final TaskListtaskList()The name of the task list in which the decision task was scheduled.final StringA task priority that, if set, specifies the priority for this decision task.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
taskList
The name of the task list in which the decision task was scheduled.
- Returns:
- The name of the task list in which the decision task was scheduled.
-
taskPriority
A task priority that, if set, specifies the priority for this decision task. Valid values are integers that range from Java's
Integer.MIN_VALUE(-2147483648) toInteger.MAX_VALUE(2147483647). Higher numbers indicate higher priority.For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
- Returns:
- A task priority that, if set, specifies the priority for this decision task. Valid values are integers
that range from Java's
Integer.MIN_VALUE(-2147483648) toInteger.MAX_VALUE(2147483647). Higher numbers indicate higher priority.For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
-
startToCloseTimeout
The maximum duration for this decision task. The task is considered timed out if it doesn't completed within this duration.
The duration is specified in seconds, an integer greater than or equal to
0. You can useNONEto specify unlimited duration.- Returns:
- The maximum duration for this decision task. The task is considered timed out if it doesn't completed
within this duration.
The duration is specified in seconds, an integer greater than or equal to
0. You can useNONEto specify unlimited duration.
-
scheduleToStartTimeout
The maximum amount of time the decision task can wait to be assigned to a worker.
- Returns:
- The maximum amount of time the decision task can wait to be assigned to a worker.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DecisionTaskScheduledEventAttributes.Builder,DecisionTaskScheduledEventAttributes> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends DecisionTaskScheduledEventAttributes.Builder> serializableBuilderClass() -
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-