question: public Map < URI , List < URI > > addTargetVolumeFullCopies ( ) { List < URI > fullCopies = Lists . newArrayList ( ) ; Map < URI , List < URI > > fullCopiesMap = new HashMap < > ( ) ; URI targetCG = null ; for ( URI volumeId : uris ( volumeIds ) ) { List < URI > targets = getTargets ( volumeId ) ; for ( URI target : targets ) { if ( targetCG == null ) { targetCG = getConsistencyGroup ( target ) ; } List < URI > volumeFullCopies = getFullCopies ( target ) ; fullCopies . addAll ( volumeFullCopies ) ; fullCopiesMap . put ( target , volumeFullCopies ) ; } } if ( ! fullCopies . isEmpty ( ) && targetCG != null ) { BlockStorageUtils . addVolumesToConsistencyGroup ( targetCG , fullCopies ) ; } return fullCopiesMap ; }
target:  Adds all target volumes' full copies to the target consistency group