public ListServicesResult withServices(ServiceSummary... services) {
        if (this.services == null) {
            setServices(new java.util.ArrayList<ServiceSummary>(services.length));
        }
        for (ServiceSummary ele : services) {
            this.services.add(ele);
        }
        return this;
    }
<p>
An array that contains one <code>ServiceSummary</code> object for each service that matches the specified filter
criteria.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setServices(java.util.Collection)} or {@link #withServices(java.util.Collection)} if you want to override
the existing values.
</p>

@param services
       An array that contains one <code>ServiceSummary</code> object for each service that matches the specified
       filter criteria.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-servicediscovery/src/main/java/com/amazonaws/services/servicediscovery/model/ListServicesResult.java