mirror of
https://github.com/samsonjs/arq_restore.git
synced 2026-04-26 14:57:39 +00:00
40 lines
1 KiB
Objective-C
40 lines
1 KiB
Objective-C
//
|
|
// S3Region.h
|
|
// Arq
|
|
//
|
|
// Created by Stefan Reitshamer on 2/11/12.
|
|
// Copyright 2012 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
|
|
|
|
|
|
@interface S3Region : NSObject {
|
|
NSString *bucketNameSuffix;
|
|
NSString *legacyBucketNameSuffix;
|
|
NSString *locationConstraint;
|
|
NSString *endpoint;
|
|
NSString *displayName;
|
|
double dollarsPerGBMonthStandard;
|
|
double dollarsPerGBMonthRRS;
|
|
}
|
|
+ (NSArray *)allS3Regions;
|
|
+ (S3Region *)s3RegionForBucketName:(NSString *)theBucketName;
|
|
+ (S3Region *)usStandard;
|
|
+ (S3Region *)usWestNorthernCalifornia;
|
|
+ (S3Region *)usWestOregon;
|
|
+ (S3Region *)euIreland;
|
|
+ (S3Region *)asiaPacificSingapore;
|
|
+ (S3Region *)asiaPacificSydney;
|
|
+ (S3Region *)asiaPacificTokyo;
|
|
+ (S3Region *)southAmericaSaoPaulo;
|
|
|
|
- (NSString *)bucketNameSuffix;
|
|
- (NSString *)legacyBucketNameSuffix;
|
|
- (NSString *)locationConstraint;
|
|
- (NSString *)endpoint;
|
|
- (NSString *)displayName;
|
|
- (double)dollarsPerGBMonthStandard;
|
|
- (double)dollarsPerGBMonthRRS;
|
|
- (NSString *)bucketNameForAccessKeyID:(NSString *)theAccessKeyID;
|
|
@end
|