Interface AuditMitigationActionExecutionMetadata.Builder

    • Method Detail

      • taskId

        AuditMitigationActionExecutionMetadata.Builder taskId​(String taskId)

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

        Parameters:
        taskId - The unique identifier for the task that applies the mitigation action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • findingId

        AuditMitigationActionExecutionMetadata.Builder findingId​(String findingId)

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

        Parameters:
        findingId - The unique identifier for the findings to which the task and associated mitigation action are applied.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actionName

        AuditMitigationActionExecutionMetadata.Builder actionName​(String actionName)

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

        Parameters:
        actionName - The friendly name of the mitigation action being applied by the task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actionId

        AuditMitigationActionExecutionMetadata.Builder actionId​(String actionId)

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

        Parameters:
        actionId - The unique identifier for the mitigation action being applied by the task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startTime

        AuditMitigationActionExecutionMetadata.Builder startTime​(Instant startTime)

        The date and time when the task was started.

        Parameters:
        startTime - The date and time when the task was started.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTime

        AuditMitigationActionExecutionMetadata.Builder endTime​(Instant endTime)

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

        Parameters:
        endTime - The date and time when the task was completed or canceled. Blank if the task is still running.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorCode

        AuditMitigationActionExecutionMetadata.Builder errorCode​(String errorCode)

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

        Parameters:
        errorCode - If an error occurred, the code that indicates which type of error occurred.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • message

        AuditMitigationActionExecutionMetadata.Builder message​(String message)

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

        Parameters:
        message - If an error occurred, a message that describes the error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.