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 anS3RepositoryFactoryinstance with the specifiedS3Client. -
Method Summary
-
Constructor Details
-
S3RepositoryFactory
public S3RepositoryFactory()Creates anS3RepositoryFactory. -
S3RepositoryFactory
public S3RepositoryFactory(software.amazon.awssdk.services.s3.S3Client client) Creates anS3RepositoryFactoryinstance with the specifiedS3Client.- Parameters:
client- theS3Client
-
-
Method Details
-
newInstance
- Specified by:
newInstancein interfaceai.djl.repository.RepositoryFactory
-
getSupportedScheme
- Specified by:
getSupportedSchemein interfaceai.djl.repository.RepositoryFactory
-