}
Assert.hasText(accessId, "请指定accessId。\n" + Constant.API_KEY_HELP);
Assert.hasText(accessKey, "请指定accessKey。\n" + Constant.API_KEY_HELP);
Assert.hasText(bucket, "请指定bucket。\n" + Constant.BUCKET_HELP);
ossClient = new OSSClient(endpoint, accessId, accessKey);
try {
ossClient.getBucketAcl(bucket);
// TODO 校验ACL
} catch (OSSException e) {
// e.printStackTrace();