public S3BucketConfiguration withBucketAclGrants(S3BucketAclGrantConfiguration... bucketAclGrants) {
        if (this.bucketAclGrants == null) {
            setBucketAclGrants(new java.util.ArrayList<S3BucketAclGrantConfiguration>(bucketAclGrants.length));
        }
        for (S3BucketAclGrantConfiguration ele : bucketAclGrants) {
            this.bucketAclGrants.add(ele);
        }
        return this;
    }
<p>
The proposed list of ACL grants for the Amazon S3 bucket. You can propose up to 100 ACL grants per bucket. If the
proposed grant configuration is for an existing bucket, the access preview uses the proposed list of grant
configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the
bucket.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setBucketAclGrants(java.util.Collection)} or {@link #withBucketAclGrants(java.util.Collection)} if you
want to override the existing values.
</p>

@param bucketAclGrants
       The proposed list of ACL grants for the Amazon S3 bucket. You can propose up to 100 ACL grants per bucket.
       If the proposed grant configuration is for an existing bucket, the access preview uses the proposed list
       of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing
       grants for the bucket.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/model/S3BucketConfiguration.java