cn.crazywalker.fsf.oss.aliyun.AliyunOSSProperties Maven / Gradle / Ivy
The newest version!
package cn.crazywalker.fsf.oss.aliyun;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* @author CrazyWalker
* @since 周六, 04/22 2023 17:12 GMT+8
*/
@ConfigurationProperties("fsf.oss.aliyun")
public class AliyunOSSProperties {
/**
* Aliyun access key id
*/
private String accessKeyId;
/**
* Aliyun access key secret
*/
private String accessKeySecret;
/**
* Aliyun bucket name
*/
private String bucketName;
/**
* Aliyun endpoint
*/
private String endpoint;
public String getAccessKeyId() {
return accessKeyId;
}
public void setAccessKeyId(String accessKeyId) {
this.accessKeyId = accessKeyId;
}
public String getAccessKeySecret() {
return accessKeySecret;
}
public void setAccessKeySecret(String accessKeySecret) {
this.accessKeySecret = accessKeySecret;
}
public String getBucketName() {
return bucketName;
}
public void setBucketName(String bucketName) {
this.bucketName = bucketName;
}
public String getEndpoint() {
return endpoint;
}
public void setEndpoint(String endpoint) {
this.endpoint = endpoint;
}
@Override
public String toString() {
return "AliyunOosProperties{" +
"accessKeyId='" + accessKeyId + '\'' +
", accessKeySecret='" + accessKeySecret + '\'' +
", bucketName='" + bucketName + '\'' +
", endpoint='" + endpoint + '\'' +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy