Class AuditMitigationActionExecutionMetadata

    • Method Detail

      • taskId

        public final String taskId()

        The unique identifier for the task that applies the mitigation action.

        Returns:
        The unique identifier for the task that applies the mitigation action.
      • findingId

        public final String findingId()

        The unique identifier for the findings to which the task and associated mitigation action are applied.

        Returns:
        The unique identifier for the findings to which the task and associated mitigation action are applied.
      • actionName

        public final String actionName()

        The friendly name of the mitigation action being applied by the task.

        Returns:
        The friendly name of the mitigation action being applied by the task.
      • actionId

        public final String actionId()

        The unique identifier for the mitigation action being applied by the task.

        Returns:
        The unique identifier for the mitigation action being applied by the task.
      • startTime

        public final Instant startTime()

        The date and time when the task was started.

        Returns:
        The date and time when the task was started.
      • endTime

        public final Instant endTime()

        The date and time when the task was completed or canceled. Blank if the task is still running.

        Returns:
        The date and time when the task was completed or canceled. Blank if the task is still running.
      • errorCode

        public final String errorCode()

        If an error occurred, the code that indicates which type of error occurred.

        Returns:
        If an error occurred, the code that indicates which type of error occurred.
      • message

        public final String message()

        If an error occurred, a message that describes the error.

        Returns:
        If an error occurred, a message that describes the error.
      • 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)