public Collection < AbstractMockEc2Instance > describeInstances ( final Set < String > instanceIDs ) { if ( null == instanceIDs || instanceIDs . size ( ) == 0 ) { return allMockEc2Instances . values ( ) ; } else { return getInstances ( instanceIDs ) ; } }
List mock ec2 instances in current aws - mock .