org.jclouds.s3
Class S3ApiMetadata

java.lang.Object
  extended by org.jclouds.apis.internal.BaseApiMetadata
      extended by org.jclouds.rest.internal.BaseRestApiMetadata
          extended by org.jclouds.s3.S3ApiMetadata
All Implemented Interfaces:
org.jclouds.apis.ApiMetadata, org.jclouds.rest.RestApiMetadata

public class S3ApiMetadata
extends org.jclouds.rest.internal.BaseRestApiMetadata

Implementation of ApiMetadata for Amazon's S3 api.

note

This class allows overriding of types 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.


Nested Class Summary
static class S3ApiMetadata.Builder<T extends S3ApiMetadata.Builder<T>>
           
 
Field Summary
static com.google.common.reflect.TypeToken<org.jclouds.rest.RestContext<? extends S3Client,? extends S3AsyncClient>> CONTEXT_TOKEN
          Deprecated. please use org.jclouds.ContextBuilder#buildClient(S3Client.class) as S3AsyncClient interface will be removed in jclouds 1.7.
 
Fields inherited from class org.jclouds.rest.internal.BaseRestApiMetadata
api, asyncApi
 
Constructor Summary
  S3ApiMetadata()
           
protected S3ApiMetadata(S3ApiMetadata.Builder<?> builder)
           
 
Method Summary
static Properties defaultProperties()
           
 S3ApiMetadata.Builder<?> toBuilder()
           
 
Methods inherited from class org.jclouds.rest.internal.BaseRestApiMetadata
contextToken, getApi, getAsyncApi, string
 
Methods inherited from class org.jclouds.apis.internal.BaseApiMetadata
equals, getBuildVersion, getContext, getCredentialName, getDefaultCredential, getDefaultEndpoint, getDefaultIdentity, getDefaultModules, getDefaultProperties, getDocumentation, getEndpointName, getId, getIdentityName, getName, getVersion, getViews, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jclouds.apis.ApiMetadata
getBuildVersion, getContext, getCredentialName, getDefaultCredential, getDefaultEndpoint, getDefaultIdentity, getDefaultModules, getDefaultProperties, getDocumentation, getEndpointName, getId, getIdentityName, getName, getVersion, getViews
 

Field Detail

CONTEXT_TOKEN

@Deprecated
public static final com.google.common.reflect.TypeToken<org.jclouds.rest.RestContext<? extends S3Client,? extends S3AsyncClient>> CONTEXT_TOKEN
Deprecated. please use org.jclouds.ContextBuilder#buildClient(S3Client.class) as S3AsyncClient interface will be removed in jclouds 1.7.
Constructor Detail

S3ApiMetadata

public S3ApiMetadata()

S3ApiMetadata

protected S3ApiMetadata(S3ApiMetadata.Builder<?> builder)
Method Detail

toBuilder

public S3ApiMetadata.Builder<?> toBuilder()

defaultProperties

public static Properties defaultProperties()


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.