@Beta
public interface ApiMetadata
Modifier and Type | Interface and Description |
---|---|
static interface |
ApiMetadata.Builder<B extends ApiMetadata.Builder<B>> |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<String> |
getBuildVersion()
Explicitly identifies the build that the server jclouds connects to is
running.
|
com.google.common.reflect.TypeToken<? extends Context> |
getContext() |
com.google.common.base.Optional<String> |
getCredentialName()
Note: if the api doesn't need a credential, this will return absent.
|
com.google.common.base.Optional<String> |
getDefaultCredential()
Explicitly sets the secret, which when combined with the identity, will
create an authenticated subject or session
|
com.google.common.base.Optional<String> |
getDefaultEndpoint()
Explicitly identifies the most top-level endpoint to a service provider.
|
com.google.common.base.Optional<String> |
getDefaultIdentity()
Explicitly identifies the login identity into a provider
|
Set<Class<? extends com.google.inject.Module>> |
getDefaultModules()
Modules that configure dependency injection for this context
|
Properties |
getDefaultProperties()
Configuration Properties used when creating connections to this api
|
URI |
getDocumentation() |
String |
getEndpointName()
The
endpointName helps the user supply the correct data when
prompted. |
String |
getId() |
String |
getIdentityName() |
String |
getName() |
String |
getVersion()
Explicitly identifies the version of an api.
|
Set<com.google.common.reflect.TypeToken<? extends View>> |
getViews() |
ApiMetadata.Builder<?> |
toBuilder() |
ApiMetadata.Builder<?> toBuilder()
ApiMetadata.Builder
String getId()
String getName()
String getEndpointName()
endpointName
helps the user supply the correct data when
prompted.
For example, on OpenStack APIs, this could be: Keystone url
Path of byon.yaml
Default: "https endpoint"
String getIdentityName()
com.google.common.base.Optional<String> getCredentialName()
String getVersion()
com.google.common.base.Optional<String> getBuildVersion()
4.1.8
while
the build version is 4.1.8r75467
.com.google.common.base.Optional<String> getDefaultEndpoint()
String
as we permit endpoints that require
variable expansion.
ex.
https://${jclouds.identity}.blob.core.windows.net
com.google.common.base.Optional<String> getDefaultIdentity()
com.google.common.base.Optional<String> getDefaultCredential()
getDefaultIdentity()
,
getCredentialName()
Properties getDefaultProperties()
Set<Class<? extends com.google.inject.Module>> getDefaultModules()
URI getDocumentation()
com.google.common.reflect.TypeToken<? extends Context> getContext()
ApiContext<EC2Api>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.