public ListServiceOperationsResult withServiceOperations(ServiceOperation... serviceOperations) {
        if (this.serviceOperations == null) {
            setServiceOperations(new java.util.ArrayList<ServiceOperation>(serviceOperations.length));
        }
        for (ServiceOperation ele : serviceOperations) {
            this.serviceOperations.add(ele);
        }
        return this;
    }
<p>
An array of structures that each contain information about one operation of this service.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setServiceOperations(java.util.Collection)} or {@link #withServiceOperations(java.util.Collection)} if
you want to override the existing values.
</p>

@param serviceOperations
       An array of structures that each contain information about one operation of this service.
@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/ListServiceOperationsResult.java