Interface PauseDurableExecutionRequest.Builder

  • Method Details

    • durableExecutionArn

      PauseDurableExecutionRequest.Builder durableExecutionArn(String 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

      PauseDurableExecutionRequest.Builder clientToken(String 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

      PauseDurableExecutionRequest.Builder executionTimeoutPaused(Boolean 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 is true.

      Parameters:
      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 is true.
      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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.