private StopInstancesResponseType stopInstances ( final Set < String > instanceIDs ) { StopInstancesResponseType ret = new StopInstancesResponseType ( ) ; ret . setRequestId ( UUID . randomUUID ( ) . toString ( ) ) ; InstanceStateChangeSetType changeSet = new InstanceStateChangeSetType ( ) ; changeSet . getItem ( ) . addAll ( mockEc2Controller . stopInstances ( instanceIDs ) ) ; ret . setInstancesSet ( changeSet ) ; return ret ; }
Handles stopInstances request with only a simplified filter of instanceIDs .