public class EC2ApiMetadata extends BaseRestApiMetadata
ApiMetadata
for Amazon's EC2 api.
S
(client) and A
(asyncClient), so that children can add additional methods not declared here,
such as new features from AWS.
As this is a popular api, we also allow overrides for type C
(context). This allows subtypes to add in new feature groups or extensions,
not present in the base api. For example, you could make a subtype for
context, that exposes admin operations.Modifier and Type | Class and Description |
---|---|
static class |
EC2ApiMetadata.Builder<T extends EC2ApiMetadata.Builder<T>> |
Modifier and Type | Field and Description |
---|---|
static com.google.common.reflect.TypeToken<RestContext<? extends EC2Client,? extends EC2AsyncClient>> |
CONTEXT_TOKEN
Deprecated.
please use
org.jclouds.ContextBuilder#buildApi(EC2Client.class) as
EC2AsyncClient interface will be removed in jclouds 1.7. |
api, asyncApi
Modifier | Constructor and Description |
---|---|
|
EC2ApiMetadata() |
protected |
EC2ApiMetadata(EC2ApiMetadata.Builder<?> builder) |
Modifier and Type | Method and Description |
---|---|
static Properties |
defaultProperties() |
EC2ApiMetadata.Builder<?> |
toBuilder() |
contextToken, getApi, getAsyncApi, string
equals, getBuildVersion, getContext, getCredentialName, getDefaultCredential, getDefaultEndpoint, getDefaultIdentity, getDefaultModules, getDefaultProperties, getDocumentation, getEndpointName, getId, getIdentityName, getName, getVersion, getViews, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getBuildVersion, getContext, getCredentialName, getDefaultCredential, getDefaultEndpoint, getDefaultIdentity, getDefaultModules, getDefaultProperties, getDocumentation, getEndpointName, getId, getIdentityName, getName, getVersion, getViews
@Deprecated public static final com.google.common.reflect.TypeToken<RestContext<? extends EC2Client,? extends EC2AsyncClient>> CONTEXT_TOKEN
org.jclouds.ContextBuilder#buildApi(EC2Client.class)
as
EC2AsyncClient
interface will be removed in jclouds 1.7.public EC2ApiMetadata()
protected EC2ApiMetadata(EC2ApiMetadata.Builder<?> builder)
public EC2ApiMetadata.Builder<?> toBuilder()
ApiMetadata.Builder
public static Properties defaultProperties()
Copyright © 2009-2013 jclouds. All Rights Reserved.