org.jclouds.s3.functions
Class BindRegionToXmlPayload

java.lang.Object
  extended by org.jclouds.rest.binders.BindToStringPayload
      extended by org.jclouds.s3.functions.BindRegionToXmlPayload
All Implemented Interfaces:
Binder

@Singleton
public class BindRegionToXmlPayload
extends BindToStringPayload

Depending on your latency and legal requirements, you can specify a location constraint that will affect where your data physically resides.

Author:
Adrian Cole

Field Summary
protected  Logger logger
           
 
Constructor Summary
BindRegionToXmlPayload(String defaultRegionForEndpoint, String defaultRegionForService, Set<String> regions)
           
 
Method Summary
<R extends HttpRequest>
R
bindToRequest(R request, Object input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected Logger logger
Constructor Detail

BindRegionToXmlPayload

@Inject
public BindRegionToXmlPayload(@Nullable
                                     String defaultRegionForEndpoint,
                                     @Nullable
                                     String defaultRegionForService,
                                     Set<String> regions)
Method Detail

bindToRequest

public <R extends HttpRequest> R bindToRequest(R request,
                                               Object input)
Specified by:
bindToRequest in interface Binder
Overrides:
bindToRequest in class BindToStringPayload


Copyright © 2009-2011 jclouds. All Rights Reserved.