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>)credentialProviderParameters
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>)credentialProviderParameters
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 *regionDeclared In
OBSServiceBaseModel.h
  credentialProvider
	OBS operation credential
@property (atomic, strong, nonnull) id<OBSServiceCredentialProvider> credentialProviderDeclared In
OBSServiceBaseModel.h
  useVirtualhost
	Whether to use virtual hosting to access OBS
@property (nonatomic, assign) BOOL useVirtualhostDeclared In
OBSServiceBaseModel.h
  useCustomDomain
	Whether to use custom domain names
@property (nonatomic, assign) BOOL useCustomDomainDeclared In
OBSServiceBaseModel.h