@Generated(value="software.amazon.awssdk:codegen") public final class ErrorInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ErrorInfo.Builder,ErrorInfo>
Provides details in the event of a failed flow, including the error type and the related error message.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ErrorInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ErrorInfo.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorMessage()
Specifies the error message that appears if a flow fails.
|
ErrorDetails |
errorType()
Specifies the type of error.
|
String |
errorTypeAsString()
Specifies the type of error.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ErrorInfo.Builder> |
serializableBuilderClass() |
ErrorInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String errorMessage()
Specifies the error message that appears if a flow fails.
public final ErrorDetails errorType()
Specifies the type of error.
If the service returns an enum value that is not available in the current SDK version, errorType will
return ErrorDetails.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorTypeAsString().
ErrorDetailspublic final String errorTypeAsString()
Specifies the type of error.
If the service returns an enum value that is not available in the current SDK version, errorType will
return ErrorDetails.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorTypeAsString().
ErrorDetailspublic ErrorInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ErrorInfo.Builder,ErrorInfo>public static ErrorInfo.Builder builder()
public static Class<? extends ErrorInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.