public ListServiceDependenciesResult withServiceDependencies(ServiceDependency... serviceDependencies) {
        if (this.serviceDependencies == null) {
            setServiceDependencies(new java.util.ArrayList<ServiceDependency>(serviceDependencies.length));
        }
        for (ServiceDependency ele : serviceDependencies) {
            this.serviceDependencies.add(ele);
        }
        return this;
    }
<p>
An array, where each object in the array contains information about one of the dependencies of this service.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setServiceDependencies(java.util.Collection)} or {@link #withServiceDependencies(java.util.Collection)}
if you want to override the existing values.
</p>

@param serviceDependencies
       An array, where each object in the array contains information about one of the dependencies 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/ListServiceDependenciesResult.java