com.atlassian.aws.ec2.awssdk
Class S3Support

java.lang.Object
  extended by com.atlassian.aws.ec2.awssdk.S3Support

public class S3Support
extends Object


Method Summary
static String getEndpoint(com.amazonaws.services.s3.model.Region region)
           
static String getEndpoint(com.amazonaws.regions.Region awsRegion)
           
static String getLocationConstraint(com.amazonaws.services.s3.model.Region region)
           
static String getName(com.amazonaws.services.s3.model.Region region)
           
static Iterable<com.amazonaws.services.s3.model.Region> getRegions()
           
static boolean isSameLocation(String locationFromRequest, String locationFromResponse)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRegions

public static Iterable<com.amazonaws.services.s3.model.Region> getRegions()

getEndpoint

public static String getEndpoint(com.amazonaws.services.s3.model.Region region)

getEndpoint

public static String getEndpoint(com.amazonaws.regions.Region awsRegion)

getName

public static String getName(com.amazonaws.services.s3.model.Region region)

getLocationConstraint

@Nullable
public static String getLocationConstraint(com.amazonaws.services.s3.model.Region region)

isSameLocation

public static boolean isSameLocation(@Nullable
                                     String locationFromRequest,
                                     @NotNull
                                     String locationFromResponse)


Copyright © 2015 Atlassian. All rights reserved.