org.jclouds.s3.functions
Class AssignCorrectHostnameForBucket
java.lang.Object
org.jclouds.s3.functions.AssignCorrectHostnameForBucket
- All Implemented Interfaces:
- com.google.common.base.Function<Object,URI>
@Singleton
public class AssignCorrectHostnameForBucket
- extends Object
- implements com.google.common.base.Function<Object,URI>
- Author:
- Adrian Cole
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Function |
equals |
logger
protected Logger logger
r2
protected final RegionToEndpointOrProviderIfNull r2
bucketToRegion
protected final com.google.common.base.Function<String,com.google.common.base.Optional<String>> bucketToRegion
AssignCorrectHostnameForBucket
@Inject
public AssignCorrectHostnameForBucket(RegionToEndpointOrProviderIfNull r2,
com.google.common.base.Function<String,com.google.common.base.Optional<String>> bucketToRegion)
apply
public URI apply(@Nullable
Object from)
- Specified by:
apply in interface com.google.common.base.Function<Object,URI>
Copyright © 2009-2012 jclouds. All Rights Reserved.