public interface S3FileSystemSchemeRegistrar
S3FileSystemConfiguration
instances from PipelineOptions
.
Users of storage systems that use the S3 protocol have the ability to register a URI scheme by
creating a ServiceLoader
entry and a concrete implementation of this interface.
It is optional but recommended to use one of the many build time tools such as AutoService
to generate the necessary META-INF files automatically.
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<S3FileSystemConfiguration> |
fromOptions(PipelineOptions options)
Create zero or more
S3FileSystemConfiguration instances from the given PipelineOptions . |
java.lang.Iterable<S3FileSystemConfiguration> fromOptions(@Nonnull PipelineOptions options)
S3FileSystemConfiguration
instances from the given PipelineOptions
.
Each scheme
is required to be unique among all
schemes registered by all S3FileSystemSchemeRegistrar
s, as well as among all FileSystem
s registered by all FileSystemRegistrar
s.