48 lines
1.0 KiB
Java
48 lines
1.0 KiB
Java
package com.zhangmeng.minio.model;
|
|
|
|
public class Config {
|
|
|
|
private String endpoint;
|
|
private String accessKey;
|
|
private String secretKey;
|
|
|
|
public Config(String endpoint, String accessKey, String secretKey) {
|
|
this.endpoint = endpoint;
|
|
this.accessKey = accessKey;
|
|
this.secretKey = secretKey;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "Config{" +
|
|
"endpoint='" + endpoint + '\'' +
|
|
", accessKey='" + accessKey + '\'' +
|
|
", secretKey='" + secretKey + '\'' +
|
|
'}';
|
|
}
|
|
|
|
public String getEndpoint() {
|
|
return endpoint;
|
|
}
|
|
|
|
public void setEndpoint(String endpoint) {
|
|
this.endpoint = endpoint;
|
|
}
|
|
|
|
public String getAccessKey() {
|
|
return accessKey;
|
|
}
|
|
|
|
public void setAccessKey(String accessKey) {
|
|
this.accessKey = accessKey;
|
|
}
|
|
|
|
public String getSecretKey() {
|
|
return secretKey;
|
|
}
|
|
|
|
public void setSecretKey(String secretKey) {
|
|
this.secretKey = secretKey;
|
|
}
|
|
}
|