public void setObjectAcl(String bucketName, String key, String versionId,
            CannedAccessControlList acl,
            RequestMetricCollector requestMetricCollector) {
        setObjectAcl(new SetObjectAclRequest(bucketName, key, versionId, acl)
                .<SetObjectAclRequest> withRequestMetricCollector(requestMetricCollector));
    }
public void setObjectAcl ( String bucketName , String key , String versionId , CannedAccessControlList acl , RequestMetricCollector requestMetricCollector ) { setObjectAcl ( new SetObjectAclRequest ( bucketName , key , versionId , acl ) . < SetObjectAclRequest > withRequestMetricCollector ( requestMetricCollector ) ) ; }
Same as {@link #setObjectAcl(String, String, String, CannedAccessControlList)}
but allows specifying a request metric collector.