com.heanbian.boot.autoconfigure.oss.OssProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of heanbian-spring-boot-autoconfigure Show documentation
Show all versions of heanbian-spring-boot-autoconfigure Show documentation
Heanbian spring boot autoconfigure component.
package com.heanbian.boot.autoconfigure.oss;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties(prefix = "heanbian.oss")
public class OssProperties {
private boolean enabled = false;
private String endpoint;
private String accessKeyId;
private String accessKeySecret;
private String bucketName;
private String bucketUri;
public String getEndpoint() {
return endpoint;
}
public void setEndpoint(String endpoint) {
this.endpoint = 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 getBucketUri() {
return bucketUri;
}
public void setBucketUri(String bucketUri) {
this.bucketUri = bucketUri;
}
public boolean isEnabled() {
return enabled;
}
public void setEnabled(boolean enabled) {
this.enabled = enabled;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy