Interface TestStateConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TestStateConfiguration.Builder,TestStateConfiguration>, SdkBuilder<TestStateConfiguration.Builder,TestStateConfiguration>, SdkPojo
Enclosing class:
TestStateConfiguration

@Mutable @NotThreadSafe public static interface TestStateConfiguration.Builder extends SdkPojo, CopyableBuilder<TestStateConfiguration.Builder,TestStateConfiguration>
  • Method Details

    • retrierRetryCount

      TestStateConfiguration.Builder retrierRetryCount(Integer retrierRetryCount)

      The number of retry attempts that have occurred for the state's Retry that applies to the mocked error.

      Parameters:
      retrierRetryCount - The number of retry attempts that have occurred for the state's Retry that applies to the mocked error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorCausedByState

      TestStateConfiguration.Builder errorCausedByState(String errorCausedByState)

      The name of the state from which an error originates when an error is mocked for a Map or Parallel state.

      Parameters:
      errorCausedByState - The name of the state from which an error originates when an error is mocked for a Map or Parallel state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mapIterationFailureCount

      TestStateConfiguration.Builder mapIterationFailureCount(Integer mapIterationFailureCount)

      The number of Map state iterations that failed during the Map state invocation.

      Parameters:
      mapIterationFailureCount - The number of Map state iterations that failed during the Map state invocation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mapItemReaderData

      TestStateConfiguration.Builder mapItemReaderData(String mapItemReaderData)

      The data read by ItemReader in Distributed Map states as found in its original source.

      Parameters:
      mapItemReaderData - The data read by ItemReader in Distributed Map states as found in its original source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.