com.zopen.ato.properties.AliyunVodProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zopen-ato-starter Show documentation
Show all versions of zopen-ato-starter Show documentation
Alibaba Tencent And Others For Spring Boot.
package com.zopen.ato.properties;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties(prefix = "zopen.aliyun.vod")
public class AliyunVodProperties {
public static final String REGION_ID = "cn-shanghai";
// 是否开启点播服务
private Boolean open = Boolean.FALSE;
// 应用ID
private String accessKeyId;
// 应用私钥
private String accessKeySecret;
@Override
public String toString() {
return "AliyunVodProperties{" +
"open=" + open +
", accessKeyId='" + accessKeyId + '\'' +
", accessKeySecret='" + "******" + '\'' +
'}';
}
public Boolean getOpen() {
return open;
}
public void setOpen(Boolean open) {
this.open = open;
}
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;
}
}