Class S3Source
java.lang.Object
ai.docling.serve.api.convert.request.source.Source
ai.docling.serve.api.convert.request.source.S3Source
Represents a data source located in S3.
This class provides functionality for accessing objects stored in an S3 bucket.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull S3Source.Builderbuilder()@NonNull StringS3 access key@NonNull StringS3 bucket name@NonNull StringS3 service endpoint, without protocol.Prefix for the object keys on s3@Nullable IntegerMaximum number of elements to read from S3.@NonNull StringS3 secret keybooleanIf enabled, SSL will be used to connect to s3.@NonNull S3Source.Builder@NonNull StringtoString()
-
Method Details
-
builder
-
toBuilder
-
getEndpoint
S3 service endpoint, without protocol.- Returns:
- the S3 service endpoint, without protocol.
-
getAccessKey
S3 access key- Returns:
- S3 access key
-
getSecretKey
S3 secret key- Returns:
- S3 secret key
-
getBucket
S3 bucket name- Returns:
- S3 bucket name
-
getKeyPrefix
Prefix for the object keys on s3- Returns:
- Prefix for the object keys on s3
-
isVerifySsl
public boolean isVerifySsl()If enabled, SSL will be used to connect to s3. Defaults totrue.- Returns:
- If enabled, SSL will be used to connect to s3. Defaults to
true.
-
getMaxNumElements
Maximum number of elements to read from S3. When set, limits the number of objects processed. Useful for batch conversions where the S3 source may contain a large number of objects.- Returns:
- Maximum number of elements to read from S3.
-
toString
-