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(com.google.common.base.Supplier<String> defaultRegionForEndpointSupplier, com.google.common.base.Supplier<String> defaultRegionForServiceSupplier, com.google.common.base.Supplier<Set<String>> regionsSupplier)
           
 
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(com.google.common.base.Supplier<String> defaultRegionForEndpointSupplier,
                                     com.google.common.base.Supplier<String> defaultRegionForServiceSupplier,
                                     com.google.common.base.Supplier<Set<String>> regionsSupplier)
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-2012 jclouds. All Rights Reserved.