Class TestStateConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.sfn.model.TestStateConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TestStateConfiguration.Builder,TestStateConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class TestStateConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TestStateConfiguration.Builder,TestStateConfiguration>
Contains configurations for the tested state.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTestStateConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TestStateConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorCausedByState()The name of the state from which an error originates when an error is mocked for a Map or Parallel state.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmapItemReaderData()The data read by ItemReader in Distributed Map states as found in its original source.IntegermapIterationFailureCount()The number of Map state iterations that failed during the Map state invocation.IntegerretrierRetryCount()The number of retry attempts that have occurred for the state's Retry that applies to the mocked error.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends TestStateConfiguration.Builder>serializableBuilderClass()TestStateConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
retrierRetryCount
public final Integer retrierRetryCount()
The number of retry attempts that have occurred for the state's Retry that applies to the mocked error.
- Returns:
- The number of retry attempts that have occurred for the state's Retry that applies to the mocked error.
-
errorCausedByState
public final String errorCausedByState()
The name of the state from which an error originates when an error is mocked for a Map or Parallel state.
- Returns:
- The name of the state from which an error originates when an error is mocked for a Map or Parallel state.
-
mapIterationFailureCount
public final Integer mapIterationFailureCount()
The number of Map state iterations that failed during the Map state invocation.
- Returns:
- The number of Map state iterations that failed during the Map state invocation.
-
mapItemReaderData
public final String mapItemReaderData()
The data read by ItemReader in Distributed Map states as found in its original source.
- Returns:
- The data read by ItemReader in Distributed Map states as found in its original source.
-
toBuilder
public TestStateConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TestStateConfiguration.Builder,TestStateConfiguration>
-
builder
public static TestStateConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends TestStateConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-