public void setAccessControlGrants(java.util.Collection<S3Grant> accessControlGrants) {
        if (accessControlGrants == null) {
            this.accessControlGrants = null;
            return;
        }

        this.accessControlGrants = new java.util.ArrayList<S3Grant>(accessControlGrants);
    }
<p/>
<note>
<p>
This functionality is not supported by directory buckets.
</p>
</note>

@param accessControlGrants
       <note>
       <p>
       This functionality is not supported by directory buckets.
       </p>
aws-java-sdk-s3control/src/main/java/com/amazonaws/services/s3control/model/S3CopyObjectOperation.java