public S3CopyObjectOperation withCannedAccessControlList(S3CannedAccessControlList cannedAccessControlList) {
        this.cannedAccessControlList = cannedAccessControlList.toString();
        return this;
    }
<p/>
<note>
<p>
This functionality is not supported by directory buckets.
</p>
</note>

@param cannedAccessControlList
       <note>
       <p>
       This functionality is not supported by directory buckets.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
@see S3CannedAccessControlList
aws-java-sdk-s3control/src/main/java/com/amazonaws/services/s3control/model/S3CopyObjectOperation.java