public ListServicesResult withServiceSummaries(ServiceSummary... serviceSummaries) {
        if (this.serviceSummaries == null) {
            setServiceSummaries(new java.util.ArrayList<ServiceSummary>(serviceSummaries.length));
        }
        for (ServiceSummary ele : serviceSummaries) {
            this.serviceSummaries.add(ele);
        }
        return this;
    }
<p>
An array of structures, where each structure contains some information about a service. To get complete
information about a service, use <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetService.html">GetService</a>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setServiceSummaries(java.util.Collection)} or {@link #withServiceSummaries(java.util.Collection)} if you
want to override the existing values.
</p>

@param serviceSummaries
       An array of structures, where each structure contains some information about a service. To get complete
       information about a service, use <a
       href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetService.html"
       >GetService</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-applicationsignals/src/main/java/com/amazonaws/services/applicationsignals/model/ListServicesResult.java