Interface CheckpointDurableExecutionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CheckpointDurableExecutionRequest.Builder,,CheckpointDurableExecutionRequest> LambdaRequest.Builder,SdkBuilder<CheckpointDurableExecutionRequest.Builder,,CheckpointDurableExecutionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CheckpointDurableExecutionRequest
-
Method Summary
Modifier and TypeMethodDescriptioncheckpointToken(String checkpointToken) A unique token that identifies the current checkpoint state.clientToken(String clientToken) An optional idempotency token to ensure that duplicate checkpoint requests are handled correctly.durableExecutionArn(String durableExecutionArn) The Amazon Resource Name (ARN) of the durable execution.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.updates(Collection<OperationUpdate> updates) An array of state updates to apply during this checkpoint.updates(Consumer<OperationUpdate.Builder>... updates) An array of state updates to apply during this checkpoint.updates(OperationUpdate... updates) An array of state updates to apply during this checkpoint.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
durableExecutionArn
The Amazon Resource Name (ARN) of the durable execution.
- Parameters:
durableExecutionArn- The Amazon Resource Name (ARN) of the durable execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checkpointToken
A unique token that identifies the current checkpoint state. This token is provided by the Lambda runtime and must be used to ensure checkpoints are applied in the correct order. Each checkpoint operation consumes this token and returns a new one.
- Parameters:
checkpointToken- A unique token that identifies the current checkpoint state. This token is provided by the Lambda runtime and must be used to ensure checkpoints are applied in the correct order. Each checkpoint operation consumes this token and returns a new one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updates
An array of state updates to apply during this checkpoint. Each update represents a change to the execution state, such as completing a step, starting a callback, or scheduling a timer. Updates are applied atomically as part of the checkpoint operation.
- Parameters:
updates- An array of state updates to apply during this checkpoint. Each update represents a change to the execution state, such as completing a step, starting a callback, or scheduling a timer. Updates are applied atomically as part of the checkpoint operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updates
An array of state updates to apply during this checkpoint. Each update represents a change to the execution state, such as completing a step, starting a callback, or scheduling a timer. Updates are applied atomically as part of the checkpoint operation.
- Parameters:
updates- An array of state updates to apply during this checkpoint. Each update represents a change to the execution state, such as completing a step, starting a callback, or scheduling a timer. Updates are applied atomically as part of the checkpoint operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updates
An array of state updates to apply during this checkpoint. Each update represents a change to the execution state, such as completing a step, starting a callback, or scheduling a timer. Updates are applied atomically as part of the checkpoint operation.
This is a convenience method that creates an instance of theOperationUpdate.Builderavoiding the need to create one manually viaOperationUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toupdates(List<OperationUpdate>).- Parameters:
updates- a consumer that will call methods onOperationUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
An optional idempotency token to ensure that duplicate checkpoint requests are handled correctly. If provided, Lambda uses this token to detect and handle duplicate requests within a 15-minute window.
- Parameters:
clientToken- An optional idempotency token to ensure that duplicate checkpoint requests are handled correctly. If provided, Lambda uses this token to detect and handle duplicate requests within a 15-minute window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CheckpointDurableExecutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CheckpointDurableExecutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-