Enum Class JCloudBlobStoreProvider
- All Implemented Interfaces:
Serializable,Comparable<JCloudBlobStoreProvider>,Constable,TieredStorageConfiguration.BlobStoreBuilder,TieredStorageConfiguration.ConfigValidation,TieredStorageConfiguration.CredentialBuilder
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAliyun OSS is compatible with the S3 API. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleandriverSupported(String driverName) static JCloudBlobStoreProvidergetProvider(String driver) org.jclouds.providers.ProviderMetadatastatic JCloudBlobStoreProviderReturns the enum constant of this class with the specified name.static JCloudBlobStoreProvider[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.apache.bookkeeper.mledger.offload.jcloud.provider.TieredStorageConfiguration.BlobStoreBuilder
getBlobStoreMethods inherited from interface org.apache.bookkeeper.mledger.offload.jcloud.provider.TieredStorageConfiguration.ConfigValidation
validateMethods inherited from interface org.apache.bookkeeper.mledger.offload.jcloud.provider.TieredStorageConfiguration.CredentialBuilder
buildCredentials
-
Enum Constant Details
-
AWS_S3
-
GOOGLE_CLOUD_STORAGE
-
AZURE_BLOB
-
ALIYUN_OSS
Aliyun OSS is compatible with the S3 API. https://www.alibabacloud.com/help/doc-detail/64919.htm -
S3
-
TRANSIENT
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getProvider
-
driverSupported
-
getDriver
-
getProviderMetadata
public org.jclouds.providers.ProviderMetadata getProviderMetadata()
-