public class FailureDetails extends Object implements Serializable, Cloneable
The details of the step failure. The service attempts to detect the root cause for many common failures.
Constructor and Description |
---|
FailureDetails() |
Modifier and Type | Method and Description |
---|---|
FailureDetails |
clone() |
boolean |
equals(Object obj) |
String |
getLogFile()
The path to the log file where the step failure root cause was originally
recorded.
|
String |
getMessage()
The descriptive message including the error the EMR service has
identified as the cause of step failure.
|
String |
getReason()
The reason for the step failure.
|
int |
hashCode() |
void |
setLogFile(String logFile)
The path to the log file where the step failure root cause was originally
recorded.
|
void |
setMessage(String message)
The descriptive message including the error the EMR service has
identified as the cause of step failure.
|
void |
setReason(String reason)
The reason for the step failure.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FailureDetails |
withLogFile(String logFile)
The path to the log file where the step failure root cause was originally
recorded.
|
FailureDetails |
withMessage(String message)
The descriptive message including the error the EMR service has
identified as the cause of step failure.
|
FailureDetails |
withReason(String reason)
The reason for the step failure.
|
public void setReason(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.
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.public String getReason()
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.
public FailureDetails withReason(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.
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.public void setMessage(String message)
The descriptive message including the error the 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.
message
- The descriptive message including the error the 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.public String getMessage()
The descriptive message including the error the 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.
public FailureDetails withMessage(String message)
The descriptive message including the error the 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.
message
- The descriptive message including the error the 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.public void setLogFile(String logFile)
The path to the log file where the step failure root cause was originally recorded.
logFile
- The path to the log file where the step failure root cause was
originally recorded.public String getLogFile()
The path to the log file where the step failure root cause was originally recorded.
public FailureDetails withLogFile(String logFile)
The path to the log file where the step failure root cause was originally recorded.
logFile
- The path to the log file where the step failure root cause was
originally recorded.public String toString()
toString
in class Object
Object.toString()
public FailureDetails clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.