Enum Class JCloudBlobStoreProvider

java.lang.Object
java.lang.Enum<JCloudBlobStoreProvider>
org.apache.bookkeeper.mledger.offload.jcloud.provider.JCloudBlobStoreProvider
All Implemented Interfaces:
Serializable, Comparable<JCloudBlobStoreProvider>, Constable, TieredStorageConfiguration.BlobStoreBuilder, TieredStorageConfiguration.ConfigValidation, TieredStorageConfiguration.CredentialBuilder

Enumeration of the supported JCloud Blob Store Providers.

Each Enumeration is responsible for implementation of its own validation, service authentication, and factory method for creating and instance of the JClod BlobStore type. Additional enumerations can be added in the future support other JCloud Providers, currently JClouds supports the following: - providers=[aws-s3, azureblob, b2, google-cloud-storage, rackspace-cloudfiles-us, rackspace-cloudfiles-uk] - apis=[s3, sts, transient, atmos, openstack-swift, openstack-keystone, openstack-keystone-3, rackspace-cloudfiles, rackspace-cloudidentity, filesystem] Note: The driver name associated with each Enum MUST match one of the above vaules, as it is used to instantiate the org.jclouds.ContextBuilder used to create the BlobStore.

  • Enum Constant Details

  • Method Details

    • values

      public static JCloudBlobStoreProvider[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static JCloudBlobStoreProvider valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getProvider

      public static JCloudBlobStoreProvider getProvider(String driver)
    • driverSupported

      public static boolean driverSupported(String driverName)
    • getDriver

      public String getDriver()
    • getProviderMetadata

      public org.jclouds.providers.ProviderMetadata getProviderMetadata()