Interface FailureDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FailureDetails.Builder,FailureDetails>,SdkBuilder<FailureDetails.Builder,FailureDetails>,SdkPojo
- Enclosing class:
- FailureDetails
public static interface FailureDetails.Builder extends SdkPojo, CopyableBuilder<FailureDetails.Builder,FailureDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FailureDetails.BuilderlogFile(String logFile)The path to the log file where the step failure root cause was originally recorded.FailureDetails.Buildermessage(String message)The descriptive message including the error the Amazon EMR service has identified as the cause of step failure.FailureDetails.Builderreason(String reason)The reason for the step failure.-
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
-
reason
FailureDetails.Builder reason(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
message
FailureDetails.Builder message(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
logFile
FailureDetails.Builder logFile(String logFile)
The path to the log file where the step failure root cause was originally recorded.
- Parameters:
logFile- The path to the log file where the step failure root cause was originally recorded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-