public CreateFleetResult withInstances(java.util.Collection<CreateFleetInstance> instances) {
        setInstances(instances);
        return this;
    }
<p>
Information about the instances that were launched by the fleet. Supported only for fleets of type
<code>instant</code>.
</p>

@param instances
       Information about the instances that were launched by the fleet. Supported only for fleets of type
       <code>instant</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateFleetResult.java