Package ai.djl.aws.s3
Class S3RepositoryFactory
java.lang.Object
ai.djl.aws.s3.S3RepositoryFactory
- All Implemented Interfaces:
ai.djl.repository.RepositoryFactory
A class responsible to create
S3Repository
instances.-
Constructor Summary
ConstructorsConstructorDescriptionCreates anS3RepositoryFactory
.S3RepositoryFactory
(software.amazon.awssdk.services.s3.S3Client client) Creates anS3RepositoryFactory
instance with the specifiedS3Client
. -
Method Summary
-
Constructor Details
-
S3RepositoryFactory
public S3RepositoryFactory()Creates anS3RepositoryFactory
. -
S3RepositoryFactory
public S3RepositoryFactory(software.amazon.awssdk.services.s3.S3Client client) Creates anS3RepositoryFactory
instance with the specifiedS3Client
.- Parameters:
client
- theS3Client
-
-
Method Details
-
newInstance
- Specified by:
newInstance
in interfaceai.djl.repository.RepositoryFactory
-
getSupportedScheme
- Specified by:
getSupportedScheme
in interfaceai.djl.repository.RepositoryFactory
-