|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.providers.Providers
public class Providers
The Providers class provides static methods for accessing providers.
| Constructor Summary | |
|---|---|
Providers()
|
|
| Method Summary | |
|---|---|
static Iterable<ProviderMetadata> |
all()
Returns all available providers. |
static Iterable<ProviderMetadata> |
allBlobStore()
Returns the providers that are of type ProviderMetadata.BLOBSTORE_TYPE. |
static Iterable<ProviderMetadata> |
allCompute()
Returns the providers that are of type ProviderMetadata.COMPUTE_TYPE. |
static Iterable<ProviderMetadata> |
allLoadBalancer()
Returns the providers that are of type ProviderMetadata.LOADBALANCER_TYPE. |
static Iterable<ProviderMetadata> |
allQueue()
Returns the providers that are of type ProviderMetadata.QUEUE_TYPE. |
static Iterable<ProviderMetadata> |
allTable()
Returns the providers that are of type ProviderMetadata.TABLE_TYPE. |
static Iterable<ProviderMetadata> |
boundedByIso3166Code(String iso3166Code)
Returns the providers that are bound to the same location as the given ISO 3166 code regardless of type. |
static Iterable<ProviderMetadata> |
boundedByIso3166Code(String iso3166Code,
String type)
Returns the providers that are bound to the same location as the given ISO 3166 code and of the given type. |
static Iterable<ProviderMetadata> |
collocatedWith(ProviderMetadata providerMetadata)
Returns the providers that have at least one common ISO 3166 code in common regardless of type. |
static Iterable<ProviderMetadata> |
collocatedWith(ProviderMetadata providerMetadata,
String type)
Returns the providers that have at least one common ISO 3166 code and are of the given type. |
static Iterable<ProviderMetadata> |
ofType(String type)
Returns the providers that are of the provided type. |
static ProviderMetadata |
withId(String id)
Returns the first provider with the provided id |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Providers()
| Method Detail |
|---|
public static Iterable<ProviderMetadata> all()
public static ProviderMetadata withId(String id)
throws NoSuchElementException
id - the id of the provider to return
NoSuchElementException - whenever there are no providers with the provided idpublic static Iterable<ProviderMetadata> allBlobStore()
ProviderMetadata.BLOBSTORE_TYPE.
public static Iterable<ProviderMetadata> allCompute()
ProviderMetadata.COMPUTE_TYPE.
public static Iterable<ProviderMetadata> allQueue()
ProviderMetadata.QUEUE_TYPE.
public static Iterable<ProviderMetadata> allTable()
ProviderMetadata.TABLE_TYPE.
public static Iterable<ProviderMetadata> allLoadBalancer()
ProviderMetadata.LOADBALANCER_TYPE.
public static Iterable<ProviderMetadata> ofType(String type)
type - the type to providers to return
public static Iterable<ProviderMetadata> boundedByIso3166Code(String iso3166Code)
isoCode - the ISO 3166 code to filter providers by
public static Iterable<ProviderMetadata> boundedByIso3166Code(String iso3166Code,
String type)
iso3166Code - the ISO 3166 code to filter providers bytype - the type to filter providers by
public static Iterable<ProviderMetadata> collocatedWith(ProviderMetadata providerMetadata)
providerMetadata - the provider metadata to use to filter providers by
public static Iterable<ProviderMetadata> collocatedWith(ProviderMetadata providerMetadata,
String type)
providerMetadata - the provider metadata to use to filter providers bytype - the type to filter providers by
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||