All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zopen.ato.properties.AliyunVodProperties Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy