question: private List < DatastoreService . State > createDatastoreDescriptions ( int numDatastores ) { List < DatastoreService . State > datastores = new ArrayList < > ( ) ; for ( int i = 0 ; i < numDatastores ; i ++ ) { String datastoreName = "datastore-" + UUID . randomUUID ( ) ; String datastoreTag = "tag-" + i ; String datastoreTag2 = "tag-extra-" + i ; DatastoreService . State datastore = new DatastoreService . State ( ) ; datastore . id = datastoreName ; datastore . name = datastoreName ; datastore . type = "SHARED_VMFS" ; datastore . tags = new HashSet < > ( Arrays . asList ( datastoreTag , datastoreTag2 ) ) ; datastore . documentSelfLink = datastoreName ; datastores . add ( datastore ) ; } return datastores ; }
target:  Create the descriptions for the datastores that we'll be posting to Cloudstore.