Class FailureDetails
- java.lang.Object
-
- software.amazon.awssdk.services.emr.model.FailureDetails
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<FailureDetails.Builder,FailureDetails>
@Generated("software.amazon.awssdk:codegen") public final class FailureDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FailureDetails.Builder,FailureDetails>
The details of the step failure. The service attempts to detect the root cause for many common failures.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
FailureDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FailureDetails.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
logFile()
The path to the log file where the step failure root cause was originally recorded.String
message()
The descriptive message including the error the Amazon EMR service has identified as the cause of step failure.String
reason()
The reason for the step failure.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends FailureDetails.Builder>
serializableBuilderClass()
FailureDetails.Builder
toBuilder()
String
toString()
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
-
reason
public final String reason()
The reason for the step failure. In the case where the service cannot successfully determine the root cause of the failure, it returns "Unknown Error" as a reason.
- Returns:
- The reason for the step failure. In the case where the service cannot successfully determine the root cause of the failure, it returns "Unknown Error" as a reason.
-
message
public final String message()
The descriptive message including the error the Amazon EMR service has identified as the cause of step failure. This is text from an error log that describes the root cause of the failure.
- Returns:
- The descriptive message including the error the Amazon EMR service has identified as the cause of step failure. This is text from an error log that describes the root cause of the failure.
-
logFile
public final String logFile()
The path to the log file where the step failure root cause was originally recorded.
- Returns:
- The path to the log file where the step failure root cause was originally recorded.
-
toBuilder
public FailureDetails.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<FailureDetails.Builder,FailureDetails>
-
builder
public static FailureDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends FailureDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
sdkFieldNameToField
in interfaceSdkPojo
-
-