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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TestStateConfiguration.BuildererrorCausedByState(String errorCausedByState)The name of the state from which an error originates when an error is mocked for a Map or Parallel state.TestStateConfiguration.BuildermapItemReaderData(String mapItemReaderData)The data read by ItemReader in Distributed Map states as found in its original source.TestStateConfiguration.BuildermapIterationFailureCount(Integer mapIterationFailureCount)The number of Map state iterations that failed during the Map state invocation.TestStateConfiguration.BuilderretrierRetryCount(Integer retrierRetryCount)The number of retry attempts that have occurred for the state's Retry that applies to the mocked error.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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.
-
-