Package org.jclouds.providers
Interface ProviderMetadata
-
- All Known Implementing Classes:
AnonymousProviderMetadata,BaseProviderMetadata
public interface ProviderMetadataThe ProviderMetadata interface allows jclouds to provide a plugin framework for gathering cloud provider metadata.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceProviderMetadata.Builder
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApiMetadatagetApiMetadata()com.google.common.base.Optional<URI>getConsole()PropertiesgetDefaultProperties()Configuration Properties used when creating connections to this provider.StringgetEndpoint()com.google.common.base.Optional<URI>getHomepage()StringgetId()Set<String>getIso3166Codes()iso 3166 codes; ex.Set<String>getLinkedServices()StringgetName()ProviderMetadata.BuildertoBuilder()
-
-
-
Method Detail
-
toBuilder
ProviderMetadata.Builder toBuilder()
- Since:
- 1.5
- See Also:
ProviderMetadata.Builder
-
getId
String getId()
- Returns:
- the provider's unique identifier (ex. aws-ec2, rackspace-cloudservers-us)
-
getName
String getName()
- Returns:
- the name (display name) of the provider (ex. GoGrid)
-
getApiMetadata
ApiMetadata getApiMetadata()
- Returns:
- the provider's api
- Since:
- 1.5
-
getEndpoint
String getEndpoint()
- Returns:
- the url for the provider's api
- See Also:
ApiMetadata#getEndpoint
-
getDefaultProperties
Properties getDefaultProperties()
Configuration Properties used when creating connections to this provider. For example, location information, or default networking configuration.- Returns:
- properties used to create connections to this provider
- See Also:
ApiMetadata.getDefaultProperties()
-
getConsole
com.google.common.base.Optional<URI> getConsole()
- Returns:
- the url for the provider's console, or absent if one doesn't exist
-
getHomepage
com.google.common.base.Optional<URI> getHomepage()
- Returns:
- the url for the provider's homepage, or absent if unknown
-
getLinkedServices
Set<String> getLinkedServices()
- Returns:
- ids of all known
providerswhich have the same account as this.
-
-