Interface TriggerHistoryRecord.Builder

    • Method Detail

      • queryId

        TriggerHistoryRecord.Builder queryId​(String queryId)

        The unique identifier for this query execution.

        Parameters:
        queryId - The unique identifier for this query execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • executionStatus

        TriggerHistoryRecord.Builder executionStatus​(String executionStatus)

        The execution status of the scheduled query run.

        Parameters:
        executionStatus - The execution status of the scheduled query run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ExecutionStatus, ExecutionStatus
      • triggeredTimestamp

        TriggerHistoryRecord.Builder triggeredTimestamp​(Long triggeredTimestamp)

        The timestamp when the scheduled query execution was triggered.

        Parameters:
        triggeredTimestamp - The timestamp when the scheduled query execution was triggered.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorMessage

        TriggerHistoryRecord.Builder errorMessage​(String errorMessage)

        Error message if the query execution failed.

        Parameters:
        errorMessage - Error message if the query execution failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinations

        TriggerHistoryRecord.Builder destinations​(Collection<ScheduledQueryDestination> destinations)

        Information about destination processing for this query execution.

        Parameters:
        destinations - Information about destination processing for this query execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinations

        TriggerHistoryRecord.Builder destinations​(ScheduledQueryDestination... destinations)

        Information about destination processing for this query execution.

        Parameters:
        destinations - Information about destination processing for this query execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.