public class DefaultQiniuProperties extends Object implements QiniuProperties, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
DefaultQiniuProperties() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
String |
getAccessKey()
The access key
|
Map<String,String> |
getBuckets()
The file's category and bucket mapping, the file will be stored in corresponding bucket for different category,
if the bucket is not defined for the file's category , the default bucket will be taken place.
|
String |
getDefaultBucket()
The default bucket to store the file which's bucket is not specified for category.
|
String |
getHost()
The host of qiniu cloud
|
String |
getSecretKey()
The secret key
|
void |
setAccessKey(String accessKey) |
void |
setBuckets(Map<String,String> buckets) |
void |
setDefaultBucket(String defaultBucket) |
void |
setHost(String host) |
void |
setSecretKey(String secretKey) |
public String getHost()
QiniuPropertiesgetHost in interface QiniuPropertiespublic void setHost(String host)
public String getAccessKey()
QiniuPropertiesgetAccessKey in interface QiniuPropertiespublic void setAccessKey(String accessKey)
public String getSecretKey()
QiniuPropertiesgetSecretKey in interface QiniuPropertiespublic void setSecretKey(String secretKey)
public String getDefaultBucket()
QiniuPropertiesgetDefaultBucket in interface QiniuPropertiespublic void setDefaultBucket(String defaultBucket)
public Map<String,String> getBuckets()
QiniuPropertiesgetBuckets in interface QiniuPropertiesCopyright © 2019. All rights reserved.