public BatchAssociateClientDeviceWithCoreDeviceResult withErrorEntries(AssociateClientDeviceWithCoreDeviceErrorEntry... errorEntries) {
        if (this.errorEntries == null) {
            setErrorEntries(new java.util.ArrayList<AssociateClientDeviceWithCoreDeviceErrorEntry>(errorEntries.length));
        }
        for (AssociateClientDeviceWithCoreDeviceErrorEntry ele : errorEntries) {
            this.errorEntries.add(ele);
        }
        return this;
    }
<p>
The list of any errors for the entries in the request. Each error entry contains the name of the IoT thing that
failed to associate.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setErrorEntries(java.util.Collection)} or {@link #withErrorEntries(java.util.Collection)} if you want to
override the existing values.
</p>

@param errorEntries
       The list of any errors for the entries in the request. Each error entry contains the name of the IoT thing
       that failed to associate.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-greengrassv2/src/main/java/com/amazonaws/services/greengrassv2/model/BatchAssociateClientDeviceWithCoreDeviceResult.java