JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.elasticmapreduce.model

Class FailureDetails

    • Constructor Detail

      • FailureDetails

        public FailureDetails()
    • Method Detail

      • setReason

        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.

        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.
      • getReason

        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.

        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.
      • withReason

        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.

        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.
      • setMessage

        public void setMessage(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.
      • getMessage

        public String getMessage()

        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.
      • withMessage

        public FailureDetails withMessage(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.
      • setLogFile

        public void setLogFile(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.
      • getLogFile

        public String getLogFile()

        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.
      • withLogFile

        public FailureDetails withLogFile(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.
      • toString

        public 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.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /