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 |
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.reflect.TypeToken<RestContext<? extends EC2Client,? extends EC2AsyncClient>> |
CONTEXT_TOKEN |
api, asyncApibuildVersion, context, credentialName, defaultCredential, defaultEndpoint, defaultIdentity, defaultModules, defaultProperties, documentation, endpointName, id, identityName, name, version, views| 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, stringequals, getBuildVersion, getContext, getCredentialName, getDefaultCredential, getDefaultEndpoint, getDefaultIdentity, getDefaultModules, getDefaultProperties, getDocumentation, getEndpointName, getId, getIdentityName, getName, getVersion, getViews, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBuildVersion, getContext, getCredentialName, getDefaultCredential, getDefaultEndpoint, getDefaultIdentity, getDefaultModules, getDefaultProperties, getDocumentation, getEndpointName, getId, getIdentityName, getName, getVersion, getViewspublic static final com.google.common.reflect.TypeToken<RestContext<? extends EC2Client,? extends EC2AsyncClient>> CONTEXT_TOKEN
public EC2ApiMetadata()
protected EC2ApiMetadata(EC2ApiMetadata.Builder builder)
public EC2ApiMetadata.Builder toBuilder()
toBuilder in interface ApiMetadatatoBuilder in class BaseRestApiMetadataApiMetadata.Builderpublic static Properties defaultProperties()
Copyright © 2009-2013 jclouds. All Rights Reserved.