package com.xiaomai.cases.polar.utils.Entity;

/**
 * @Author zxy
 * @Description
 * @Date 2024/7/3 10:32
 */
public class SignatureVO {
    //资源ID
    private Long resourceId;
    //接入ID
    private String accessId;

    //访问策略
    private String policy;
    //签名
    private String signature;
    //对象路径
    private String key;
    //接入点
    private String host;
    //过期时间
    private String expire;
    private String extAttrs;
    //回调地址
    private String callback;
    private String securityToken;
    private String algorithm;



    public Long getResourceId() {
        return resourceId;
    }

    public void setResourceId(Long resourceId) {
        this.resourceId = resourceId;
    }

    public String getAccessId() {
        return accessId;
    }

    public void setAccessId(String accessId) {
        this.accessId = accessId;
    }

    public String getPolicy() {
        return policy;
    }

    public void setPolicy(String policy) {
        this.policy = policy;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getExpire() {
        return expire;
    }

    public void setExpire(String expire) {
        this.expire = expire;
    }

    public String getCallback() {
        return callback;
    }

    public void setCallback(String callback) {
        this.callback = callback;
    }

    public String getExtAttrs() {
        return extAttrs;
    }

    public void setExtAttrs(String extAttrs) {
        this.extAttrs = extAttrs;
    }

    public String getAlgorithm() {
        return algorithm;
    }

    public void setAlgorithm(String algorithm) {
        this.algorithm = algorithm;
    }

    public String getSecurityToken() {
        return securityToken;
    }

    public SignatureVO setSecurityToken(String securityToken) {
        this.securityToken = securityToken;
        return this;
    }
}

