Class S3Fetcher

    • Constructor Detail

      • S3Fetcher

        public S3Fetcher()
    • Method Detail

      • setSpoolToTemp

        @Field
        public void setSpoolToTemp​(boolean spoolToTemp)
      • setRegion

        @Field
        public void setRegion​(String region)
      • setProfile

        @Field
        public void setProfile​(String profile)
      • setBucket

        @Field
        public void setBucket​(String bucket)
      • setThrottleSeconds

        @Field
        public void setThrottleSeconds​(String commaDelimitedLongs)
                                throws TikaConfigException
        Set seconds to throttle retries as a comma-delimited list, e.g.: 30,60,120,600
        Parameters:
        commaDelimitedLongs -
        Throws:
        TikaConfigException
      • setThrottleSeconds

        public void setThrottleSeconds​(long[] throttleSeconds)
      • getThrottleSeconds

        public long[] getThrottleSeconds()
      • setPrefix

        @Field
        public void setPrefix​(String prefix)
        prefix to prepend to the fetch key before fetching. This will automatically add a '/' at the end.
        Parameters:
        prefix -
      • setExtractUserMetadata

        @Field
        public void setExtractUserMetadata​(boolean extractUserMetadata)
        Whether or not to extract user metadata from the S3Object
        Parameters:
        extractUserMetadata -
      • setMaxConnections

        @Field
        public void setMaxConnections​(int maxConnections)
      • setRetries

        @Field
        public void setRetries​(int retries)
      • setCredentialsProvider

        @Field
        public void setCredentialsProvider​(String credentialsProvider)
      • setMaxLength

        @Field
        public void setMaxLength​(long maxLength)
      • setSleepBeforeRetryMillis

        @Field
        public void setSleepBeforeRetryMillis​(long sleepBeforeRetryMillis)
        Parameters:
        sleepBeforeRetryMillis - -- amount of time in millis to sleep if there was a failure
      • setAccessKey

        @Field
        public void setAccessKey​(String accessKey)
      • setSecretKey

        @Field
        public void setSecretKey​(String secretKey)
      • setEndpointConfigurationService

        @Field
        public void setEndpointConfigurationService​(String endpointConfigurationService)
      • setPathStyleAccessEnabled

        @Field
        public void setPathStyleAccessEnabled​(boolean pathStyleAccessEnabled)