Class S3FetcherConfig
java.lang.Object
com.norconex.crawler.core.fetch.BaseFetcherConfig
com.norconex.crawler.fs.fetch.impl.BaseAuthNioFetcherConfig
com.norconex.crawler.fs.fetch.impl.s3.S3FetcherConfig
Configuration for S3Fetcher.
Credentials are optional: when not set, the AWS SDK's default credential
provider chain is used instead (environment variables,
~/.aws/credentials, an EC2/ECS/Lambda IAM role, etc.) - the
normal way AWS-hosted workloads authenticate without embedding keys in
configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanCustom endpoint URL, for S3-compatible services (e.g.The AWS region the bucket lives in (e.g.inthashCode()booleanWhether to use path-style bucket addressing (endpoint/bucket/key) instead of the AWS-default virtual-hosted style (bucket.endpoint/key).setEndpoint(String endpoint) Custom endpoint URL, for S3-compatible services (e.g.setForcePathStyle(boolean forcePathStyle) Whether to use path-style bucket addressing (endpoint/bucket/key) instead of the AWS-default virtual-hosted style (bucket.endpoint/key).The AWS region the bucket lives in (e.g.toString()Methods inherited from class com.norconex.crawler.fs.fetch.impl.BaseAuthNioFetcherConfig
getCredentials, getDomain, setDomainMethods inherited from class com.norconex.crawler.core.fetch.BaseFetcherConfig
getReferenceFilters, setReferenceFilters
-
Constructor Details
-
S3FetcherConfig
public S3FetcherConfig()
-
-
Method Details
-
getRegion
The AWS region the bucket lives in (e.g.us-east-1). If not set, the AWS SDK's default region provider chain is used. -
getEndpoint
Custom endpoint URL, for S3-compatible services (e.g. MinIO, Ceph) rather than real AWS S3. -
isForcePathStyle
public boolean isForcePathStyle()Whether to use path-style bucket addressing (endpoint/bucket/key) instead of the AWS-default virtual-hosted style (bucket.endpoint/key). Most S3-compatible services (e.g. MinIO) require this to be enabled. -
setRegion
The AWS region the bucket lives in (e.g.us-east-1). If not set, the AWS SDK's default region provider chain is used.- Returns:
this.
-
setEndpoint
Custom endpoint URL, for S3-compatible services (e.g. MinIO, Ceph) rather than real AWS S3.- Returns:
this.
-
setForcePathStyle
Whether to use path-style bucket addressing (endpoint/bucket/key) instead of the AWS-default virtual-hosted style (bucket.endpoint/key). Most S3-compatible services (e.g. MinIO) require this to be enabled.- Returns:
this.
-
equals
- Overrides:
equalsin classBaseAuthNioFetcherConfig
-
canEqual
- Overrides:
canEqualin classBaseAuthNioFetcherConfig
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseAuthNioFetcherConfig
-
toString
- Overrides:
toStringin classBaseAuthNioFetcherConfig
-