public void setInstances(java.util.Collection<InstanceSummary> instances) {
        if (instances == null) {
            this.instances = null;
            return;
        }

        this.instances = new java.util.ArrayList<InstanceSummary>(instances);
    }
<p>
Summary information about the instances that are associated with the specified service.
</p>

@param instances
       Summary information about the instances that are associated with the specified service.
aws-java-sdk-servicediscovery/src/main/java/com/amazonaws/services/servicediscovery/model/ListInstancesResult.java