Interface S3Target.Builder

    • Method Detail

      • path

        S3Target.Builder path​(String path)

        The path to the Amazon S3 target.

        Parameters:
        path - The path to the Amazon S3 target.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • exclusions

        S3Target.Builder exclusions​(String... exclusions)

        A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.

        Parameters:
        exclusions - A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • connectionName

        S3Target.Builder connectionName​(String connectionName)

        The name of a connection which allows a job or crawler to access data in Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC).

        Parameters:
        connectionName - The name of a connection which allows a job or crawler to access data in Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sampleSize

        S3Target.Builder sampleSize​(Integer sampleSize)

        Sets the number of files in each leaf folder to be crawled when crawling sample files in a dataset. If not set, all the files are crawled. A valid value is an integer between 1 and 249.

        Parameters:
        sampleSize - Sets the number of files in each leaf folder to be crawled when crawling sample files in a dataset. If not set, all the files are crawled. A valid value is an integer between 1 and 249.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventQueueArn

        S3Target.Builder eventQueueArn​(String eventQueueArn)

        A valid Amazon SQS ARN. For example, arn:aws:sqs:region:account:sqs.

        Parameters:
        eventQueueArn - A valid Amazon SQS ARN. For example, arn:aws:sqs:region:account:sqs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dlqEventQueueArn

        S3Target.Builder dlqEventQueueArn​(String dlqEventQueueArn)

        A valid Amazon dead-letter SQS ARN. For example, arn:aws:sqs:region:account:deadLetterQueue.

        Parameters:
        dlqEventQueueArn - A valid Amazon dead-letter SQS ARN. For example, arn:aws:sqs:region:account:deadLetterQueue.
        Returns:
        Returns a reference to this object so that method calls can be chained together.