public ScopeDetails withS3DataAccesses(S3DataAccessDetails... s3DataAccesses) {
        if (this.s3DataAccesses == null) {
            setS3DataAccesses(new java.util.ArrayList<S3DataAccessDetails>(s3DataAccesses.length));
        }
        for (S3DataAccessDetails ele : s3DataAccesses) {
            this.s3DataAccesses.add(ele);
        }
        return this;
    }
<p>
Underlying S3 resources that will be affected by this notification.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setS3DataAccesses(java.util.Collection)} or {@link #withS3DataAccesses(java.util.Collection)} if you want
to override the existing values.
</p>

@param s3DataAccesses
       Underlying S3 resources that will be affected by this notification.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dataexchange/src/main/java/com/amazonaws/services/dataexchange/model/ScopeDetails.java