public enum JCloudBlobStoreProvider extends Enum<JCloudBlobStoreProvider> implements Serializable, TieredStorageConfiguration.ConfigValidation, TieredStorageConfiguration.BlobStoreBuilder, 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.
| Enum Constant and Description |
|---|
ALIYUN_OSS
Aliyun OSS is compatible with the S3 API.
|
AWS_S3 |
AZURE_BLOB |
GOOGLE_CLOUD_STORAGE |
TRANSIENT |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
driverSupported(String driverName) |
String |
getDriver() |
static JCloudBlobStoreProvider |
getProvider(String driver) |
org.jclouds.providers.ProviderMetadata |
getProviderMetadata() |
static JCloudBlobStoreProvider |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JCloudBlobStoreProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfvalidategetBlobStorebuildCredentialspublic static final JCloudBlobStoreProvider AWS_S3
public static final JCloudBlobStoreProvider GOOGLE_CLOUD_STORAGE
public static final JCloudBlobStoreProvider AZURE_BLOB
public static final JCloudBlobStoreProvider ALIYUN_OSS
public static final JCloudBlobStoreProvider TRANSIENT
public static JCloudBlobStoreProvider[] values()
for (JCloudBlobStoreProvider c : JCloudBlobStoreProvider.values()) System.out.println(c);
public static JCloudBlobStoreProvider valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static JCloudBlobStoreProvider getProvider(String driver)
public static boolean driverSupported(String driverName)
public String getDriver()
public org.jclouds.providers.ProviderMetadata getProviderMetadata()
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.