public DescribeDeviceEc2InstancesResult withInstances(java.util.Collection<InstanceSummary> instances) {
        setInstances(instances);
        return this;
    }
<p>
A list of structures containing information about each instance.
</p>

@param instances
       A list of structures containing information about each instance.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-snowdevicemanagement/src/main/java/com/amazonaws/services/snowdevicemanagement/model/DescribeDeviceEc2InstancesResult.java