com.gitee.summer9102.develop.alibaba.vod.AliVodProperties Maven / Gradle / Ivy
package com.gitee.summer9102.develop.alibaba.vod;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties(prefix = "ali.vod")
public class AliVodProperties {
/**
* 是否启用
*/
private boolean enabled = false;
private String regionId = "cn-hangzhou";
private String accessKeyId;
private String accessKeySecret;
public boolean isEnabled() {
return enabled;
}
public void setEnabled(boolean enabled) {
this.enabled = enabled;
}
public String getRegionId() {
return regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
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;
}
}