public BatchCreateChannelMembershipResult withErrors(java.util.Collection<BatchCreateChannelMembershipError> errors) {
        setErrors(errors);
        return this;
    }
<p>
If the action fails for one or more of the memberships in the request, a list of the memberships is returned,
along with error codes and error messages.
</p>

@param errors
       If the action fails for one or more of the memberships in the request, a list of the memberships is
       returned, along with error codes and error messages.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/BatchCreateChannelMembershipResult.java