Interface RecrawlPolicy.Builder

    • Method Detail

      • recrawlBehavior

        RecrawlPolicy.Builder recrawlBehavior​(String recrawlBehavior)

        Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run.

        A value of CRAWL_EVERYTHING specifies crawling the entire dataset again.

        A value of CRAWL_NEW_FOLDERS_ONLY specifies crawling only folders that were added since the last crawler run.

        A value of CRAWL_EVENT_MODE specifies crawling only the changes identified by Amazon S3 events.

        Parameters:
        recrawlBehavior - Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run.

        A value of CRAWL_EVERYTHING specifies crawling the entire dataset again.

        A value of CRAWL_NEW_FOLDERS_ONLY specifies crawling only folders that were added since the last crawler run.

        A value of CRAWL_EVENT_MODE specifies crawling only the changes identified by Amazon S3 events.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RecrawlBehavior, RecrawlBehavior
      • recrawlBehavior

        RecrawlPolicy.Builder recrawlBehavior​(RecrawlBehavior recrawlBehavior)

        Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run.

        A value of CRAWL_EVERYTHING specifies crawling the entire dataset again.

        A value of CRAWL_NEW_FOLDERS_ONLY specifies crawling only folders that were added since the last crawler run.

        A value of CRAWL_EVENT_MODE specifies crawling only the changes identified by Amazon S3 events.

        Parameters:
        recrawlBehavior - Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run.

        A value of CRAWL_EVERYTHING specifies crawling the entire dataset again.

        A value of CRAWL_NEW_FOLDERS_ONLY specifies crawling only folders that were added since the last crawler run.

        A value of CRAWL_EVENT_MODE specifies crawling only the changes identified by Amazon S3 events.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RecrawlBehavior, RecrawlBehavior