Interface ExecutionStartedDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExecutionStartedDetails.Builder,,ExecutionStartedDetails> SdkBuilder<ExecutionStartedDetails.Builder,,ExecutionStartedDetails> SdkPojo
- Enclosing class:
ExecutionStartedDetails
@Mutable
@NotThreadSafe
public static interface ExecutionStartedDetails.Builder
extends SdkPojo, CopyableBuilder<ExecutionStartedDetails.Builder,ExecutionStartedDetails>
-
Method Summary
Modifier and TypeMethodDescriptionexecutionTimeout(Integer executionTimeout) The maximum amount of time that the durable execution is allowed to run, in seconds.default ExecutionStartedDetails.Builderinput(Consumer<EventInput.Builder> input) The input payload provided for the durable execution.input(EventInput input) The input payload provided for the durable execution.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
input
The input payload provided for the durable execution.
- Parameters:
input- The input payload provided for the durable execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
input
The input payload provided for the durable execution.
This is a convenience method that creates an instance of theEventInput.Builderavoiding the need to create one manually viaEventInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinput(EventInput).- Parameters:
input- a consumer that will call methods onEventInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionTimeout
The maximum amount of time that the durable execution is allowed to run, in seconds.
- Parameters:
executionTimeout- The maximum amount of time that the durable execution is allowed to run, in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-