org.jclouds.s3.functions
Class BindRegionToXmlPayload
java.lang.Object
org.jclouds.rest.binders.BindToStringPayload
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
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected Logger logger
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)
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.