public DescribeServiceErrorsResult withServiceErrors(ServiceError... serviceErrors) {
        if (this.serviceErrors == null) {
            setServiceErrors(new com.amazonaws.internal.SdkInternalList<ServiceError>(serviceErrors.length));
        }
        for (ServiceError ele : serviceErrors) {
            this.serviceErrors.add(ele);
        }
        return this;
    }
<p>
An array of <code>ServiceError</code> objects that describe the specified service errors.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setServiceErrors(java.util.Collection)} or {@link #withServiceErrors(java.util.Collection)} if you want
to override the existing values.
</p>

@param serviceErrors
       An array of <code>ServiceError</code> objects that describe the specified service errors.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/DescribeServiceErrorsResult.java