yangys
2024-05-09 014ac34ff2baf657c3236f41fdbf11c9d7d414b4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.qianwen.core.oss.enums;
 
public enum PolicyType {
    READ("read", "只读"),
    WRITE("write", "只写"),
    READ_WRITE("read_write", "读写");
    
    private final String type;
    private final String policy;
 
    PolicyType(final String type, final String policy) {
        this.type = type;
        this.policy = policy;
    }
 
    public String getType() {
        return this.type;
    }
 
    public String getPolicy() {
        return this.policy;
    }
}