Class LastRunErrorStatus

    • Method Detail

      • code

        public final LastRunErrorStatusCode code()

        Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run. Possible values are:

        • ERROR - One or more errors occurred. Amazon Macie didn't process all the data specified for the job.

        • NONE - No errors occurred. Macie processed all the data specified for the job.

        If the service returns an enum value that is not available in the current SDK version, code will return LastRunErrorStatusCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from codeAsString().

        Returns:
        Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run. Possible values are:

        • ERROR - One or more errors occurred. Amazon Macie didn't process all the data specified for the job.

        • NONE - No errors occurred. Macie processed all the data specified for the job.

        See Also:
        LastRunErrorStatusCode
      • codeAsString

        public final String codeAsString()

        Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run. Possible values are:

        • ERROR - One or more errors occurred. Amazon Macie didn't process all the data specified for the job.

        • NONE - No errors occurred. Macie processed all the data specified for the job.

        If the service returns an enum value that is not available in the current SDK version, code will return LastRunErrorStatusCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from codeAsString().

        Returns:
        Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run. Possible values are:

        • ERROR - One or more errors occurred. Amazon Macie didn't process all the data specified for the job.

        • NONE - No errors occurred. Macie processed all the data specified for the job.

        See Also:
        LastRunErrorStatusCode
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)