Java 类com.amazonaws.services.s3.model.GetObjectAclRequest 实例源码

项目:ibm-cos-sdk-java    文件:AmazonS3Client.java   
@Override
public AccessControlList getObjectAcl(GetObjectAclRequest getObjectAclRequest) {
    getObjectAclRequest = beforeClientExecution(getObjectAclRequest);
    rejectNull(getObjectAclRequest, "The request parameter must be specified when requesting an object's ACL");
    rejectNull(getObjectAclRequest.getBucketName(), "The bucket name parameter must be specified when requesting an object's ACL");
    rejectNull(getObjectAclRequest.getKey(), "The key parameter must be specified when requesting an object's ACL");

    return getAcl(getObjectAclRequest.getBucketName(), getObjectAclRequest.getKey(),
            getObjectAclRequest.getVersionId(), getObjectAclRequest.isRequesterPays(),
            getObjectAclRequest);
}
项目:elasticsearch_my    文件:AmazonS3Wrapper.java   
@Override
public AccessControlList getObjectAcl(GetObjectAclRequest getObjectAclRequest) throws AmazonClientException, AmazonServiceException {
    return delegate.getObjectAcl(getObjectAclRequest);
}
项目:ibm-cos-sdk-java    文件:AmazonS3Client.java   
@Override
public AccessControlList getObjectAcl(String bucketName, String key)
        throws SdkClientException, AmazonServiceException {
    return getObjectAcl(new GetObjectAclRequest(bucketName, key));
}
项目:ibm-cos-sdk-java    文件:AmazonS3Client.java   
@Override
public AccessControlList getObjectAcl(String bucketName, String key, String versionId)
        throws SdkClientException, AmazonServiceException {
    return getObjectAcl(new GetObjectAclRequest(bucketName, key, versionId));
}
项目:S3Decorators    文件:S3Decorator.java   
@Override
public AccessControlList getObjectAcl(GetObjectAclRequest getObjectAclRequest) throws SdkClientException, AmazonServiceException {
  return call(() -> getDelegate().getObjectAcl(getObjectAclRequest));
}