Class EvaluationFailedEventDetails
- java.lang.Object
-
- software.amazon.awssdk.services.sfn.model.EvaluationFailedEventDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EvaluationFailedEventDetails.Builder,EvaluationFailedEventDetails>
@Generated("software.amazon.awssdk:codegen") public final class EvaluationFailedEventDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EvaluationFailedEventDetails.Builder,EvaluationFailedEventDetails>
Contains details about an evaluation failure that occurred while processing a state, for example, when a JSONata expression throws an error. This event will only be present in state machines that have QueryLanguage set to JSONata, or individual states set to JSONata.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEvaluationFailedEventDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EvaluationFailedEventDetails.Builderbuilder()Stringcause()A more detailed explanation of the cause of the failure.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringerror()The error code of the failure.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringlocation()The location of the field in the state in which the evaluation error occurred.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EvaluationFailedEventDetails.Builder>serializableBuilderClass()Stringstate()The name of the state in which the evaluation error occurred.EvaluationFailedEventDetails.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
-
error
public final String error()
The error code of the failure.
- Returns:
- The error code of the failure.
-
cause
public final String cause()
A more detailed explanation of the cause of the failure.
- Returns:
- A more detailed explanation of the cause of the failure.
-
location
public final String location()
The location of the field in the state in which the evaluation error occurred.
- Returns:
- The location of the field in the state in which the evaluation error occurred.
-
state
public final String state()
The name of the state in which the evaluation error occurred.
- Returns:
- The name of the state in which the evaluation error occurred.
-
toBuilder
public EvaluationFailedEventDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EvaluationFailedEventDetails.Builder,EvaluationFailedEventDetails>
-
builder
public static EvaluationFailedEventDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends EvaluationFailedEventDetails.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
-
-