Interface PauseDurableExecutionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PauseDurableExecutionRequest.Builder,,PauseDurableExecutionRequest> LambdaRequest.Builder,SdkBuilder<PauseDurableExecutionRequest.Builder,,PauseDurableExecutionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PauseDurableExecutionRequest
@Mutable
@NotThreadSafe
public static interface PauseDurableExecutionRequest.Builder
extends LambdaRequest.Builder, SdkPojo, CopyableBuilder<PauseDurableExecutionRequest.Builder,PauseDurableExecutionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide so that the request completes no more than one time.durableExecutionArn(String durableExecutionArn) The Amazon Resource Name (ARN) of the durable execution.executionTimeoutPaused(Boolean executionTimeoutPaused) Specifies whether to pause the execution timeout while the execution is paused.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A description of why you're pausing the execution.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.
-
clientToken
A unique, case-sensitive identifier that you provide so that the request completes no more than one time. If you repeat a request with the same client token and parameters within 15 minutes, Lambda doesn't pause the execution again and returns a successful response instead of an error.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide so that the request completes no more than one time. If you repeat a request with the same client token and parameters within 15 minutes, Lambda doesn't pause the execution again and returns a successful response instead of an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reason
A description of why you're pausing the execution. Lambda records the reason in the execution history.
- Parameters:
reason- A description of why you're pausing the execution. Lambda records the reason in the execution history.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionTimeoutPaused
Specifies whether to pause the execution timeout while the execution is paused. If
true, Lambda extends the execution timeout by the time the execution spends paused. An execution with a paused timeout still times out 366 days after it started. The default value istrue.- Parameters:
executionTimeoutPaused- Specifies whether to pause the execution timeout while the execution is paused. Iftrue, Lambda extends the execution timeout by the time the execution spends paused. An execution with a paused timeout still times out 366 days after it started. The default value istrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PauseDurableExecutionRequest.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
PauseDurableExecutionRequest.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.
-