Interface CrawlerHistory.Builder

    • Method Detail

      • crawlId

        CrawlerHistory.Builder crawlId​(String crawlId)

        A UUID identifier for each crawl.

        Parameters:
        crawlId - A UUID identifier for each crawl.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startTime

        CrawlerHistory.Builder startTime​(Instant startTime)

        The date and time on which the crawl started.

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

        CrawlerHistory.Builder endTime​(Instant endTime)

        The date and time on which the crawl ended.

        Parameters:
        endTime - The date and time on which the crawl ended.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • summary

        CrawlerHistory.Builder summary​(String summary)

        A run summary for the specific crawl in JSON. Contains the catalog tables and partitions that were added, updated, or deleted.

        Parameters:
        summary - A run summary for the specific crawl in JSON. Contains the catalog tables and partitions that were added, updated, or deleted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorMessage

        CrawlerHistory.Builder errorMessage​(String errorMessage)

        If an error occurred, the error message associated with the crawl.

        Parameters:
        errorMessage - If an error occurred, the error message associated with the crawl.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • logGroup

        CrawlerHistory.Builder logGroup​(String logGroup)

        The log group associated with the crawl.

        Parameters:
        logGroup - The log group associated with the crawl.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • logStream

        CrawlerHistory.Builder logStream​(String logStream)

        The log stream associated with the crawl.

        Parameters:
        logStream - The log stream associated with the crawl.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • messagePrefix

        CrawlerHistory.Builder messagePrefix​(String messagePrefix)

        The prefix for a CloudWatch message about this crawl.

        Parameters:
        messagePrefix - The prefix for a CloudWatch message about this crawl.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dpuHour

        CrawlerHistory.Builder dpuHour​(Double dpuHour)

        The number of data processing units (DPU) used in hours for the crawl.

        Parameters:
        dpuHour - The number of data processing units (DPU) used in hours for the crawl.
        Returns:
        Returns a reference to this object so that method calls can be chained together.