Interface DurableConfig.Builder

  • Method Details

    • kmsKeyArn

      DurableConfig.Builder kmsKeyArn(String 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

      DurableConfig.Builder retentionPeriodInDays(Integer 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

      DurableConfig.Builder executionTimeout(Integer 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.