Interface DurableConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DurableConfig.Builder,,DurableConfig> SdkBuilder<DurableConfig.Builder,,DurableConfig> SdkPojo
- Enclosing class:
DurableConfig
@Mutable
@NotThreadSafe
public static interface DurableConfig.Builder
extends SdkPojo, CopyableBuilder<DurableConfig.Builder,DurableConfig>
-
Method Summary
Modifier and TypeMethodDescriptionexecutionTimeout(Integer executionTimeout) The maximum time (in seconds) that a durable execution can run before timing out.The ARN of the Key Management Service (KMS) customer managed key that is used to encrypt your durable execution's payload data, including input, output, and error payloads.retentionPeriodInDays(Integer retentionPeriodInDays) The number of days to retain execution history after a durable execution completes.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
-
kmsKeyArn
The ARN of the Key Management Service (KMS) customer managed key that is used to encrypt your durable execution's payload data, including input, output, and error payloads.
- Parameters:
kmsKeyArn- The ARN of the Key Management Service (KMS) customer managed key that is used to encrypt your durable execution's payload data, including input, output, and error payloads.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionPeriodInDays
The number of days to retain execution history after a durable execution completes. After this period, execution history is no longer available through the GetDurableExecutionHistory API.
- Parameters:
retentionPeriodInDays- The number of days to retain execution history after a durable execution completes. After this period, execution history is no longer available through the GetDurableExecutionHistory API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionTimeout
The maximum time (in seconds) that a durable execution can run before timing out. This timeout applies to the entire durable execution, not individual function invocations.
- Parameters:
executionTimeout- The maximum time (in seconds) that a durable execution can run before timing out. This timeout applies to the entire durable execution, not individual function invocations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-