OBSServiceConfiguration Class Reference

Inherits from OBSBaseConfiguration : NSObject
Declared in OBSServiceBaseModel.h
OBSServiceBaseModel.m

Other Methods

– initWithURL:credentialProvider:

Use a URL to initialize the service configuration.

- (instancetype)initWithURL:(NSURL *)url credentialProvider:(id<OBSServiceCredentialProvider>)credentialProvider

Parameters

url

URL

credentialProvider

OBS operation credential

Return Value

Service configuration object

Declared In

OBSServiceBaseModel.h

– initWithURLString:credentialProvider:

Use a URL character string to initialize the service configuration.

- (instancetype)initWithURLString:(NSString *)urlString credentialProvider:(id<OBSServiceCredentialProvider>)credentialProvider

Parameters

urlString

URL character string

credentialProvider

OBS operation credential

Return Value

Service configuration object

Declared In

OBSServiceBaseModel.h

Other Methods

  region

Object storage region

@property (nonatomic, strong, nonnull) NSString *region

Declared In

OBSServiceBaseModel.h

  credentialProvider

OBS operation credential

@property (atomic, strong, nonnull) id<OBSServiceCredentialProvider> credentialProvider

Declared In

OBSServiceBaseModel.h

  useVirtualhost

Whether to use virtual hosting to access OBS

@property (nonatomic, assign) BOOL useVirtualhost

Declared In

OBSServiceBaseModel.h

  useCustomDomain

Whether to use custom domain names

@property (nonatomic, assign) BOOL useCustomDomain

Declared In

OBSServiceBaseModel.h