<p>
Information about the started instances.
</p>

@param startingInstances
Information about the started instances.
961838
public void setStartingInstances(java.util.Collection<InstanceStateChange> startingInstances) {
        if (startingInstances == null) {
            this.startingInstances = null;
            return;
        }

        this.startingInstances = new com.amazonaws.internal.SdkInternalList<InstanceStateChange>(startingInstances);
    }
857910
public void setInstancesList(java.util.Collection<String> instancesList) {
        if (instancesList == null) {
            this.instancesList = null;
            return;
        }

        this.instancesList = new com.amazonaws.internal.SdkInternalList<String>(instancesList);
    }
688571
public static void setInstanceProvider(SpringInstanceProvider provider) {
		if(instanceProvider != null)return;
		instanceProvider = provider;
		initialized.set(true);
	}
1170594
public void setNotebookInstances(java.util.Collection<NotebookInstanceSummary> notebookInstances) {
        if (notebookInstances == null) {
            this.notebookInstances = null;
            return;
        }

        this.notebookInstances = new java.util.ArrayList<NotebookInstanceSummary>(notebookInstances);
    }
1169838
private void initializeInstance() {
		this.processHelper = Programs.as(this.jobInstance);

		if (this.launchId == null) {
			this.launchId = UUID.randomUUID();
		}
		this.launchResult = new LaunchResult();
	}
996852
def do_startInstance(self,args):
        """"""
        parser = CommandArgumentParser("startInstance")
        parser.add_argument(dest='instance',help='instance index or name');
        args = vars(parser.parse_args(args))

        instanceId = args['instance']
        force = args['force']
        try:
            index = int(instanceId)
            instances = self.scalingGroupDescription['AutoScalingGroups'][0]['Instances']
            instanceId = instances[index]
        except ValueError:
            pass

        client = AwsConnectionFactory.getEc2Client()
        client.start_instances(InstanceIds=[instanceId['InstanceId']])
499726
public void setInstanceProfiles(java.util.Collection<InstanceProfile> instanceProfiles) {
        if (instanceProfiles == null) {
            this.instanceProfiles = null;
            return;
        }

        this.instanceProfiles = new java.util.ArrayList<InstanceProfile>(instanceProfiles);
    }
1289900
public void setReservedInstancesIds(java.util.Collection<String> reservedInstancesIds) {
        if (reservedInstancesIds == null) {
            this.reservedInstancesIds = null;
            return;
        }

        this.reservedInstancesIds = new com.amazonaws.internal.SdkInternalList<String>(reservedInstancesIds);
    }
1131810
public void sendInstances(Stream inputStream,
														int numberInstances, boolean isTraining, boolean isTesting) {
		int numberSamples = 0;

		while (streamSource.hasMoreInstances()
				&& numberSamples < numberInstances) {
			
			numberSamples++;
			numberInstancesSent++;
			InstanceContentEvent instanceContentEvent = new InstanceContentEvent(
					numberInstancesSent, nextInstance(), isTraining, isTesting);
		
			
			inputStream.put(instanceContentEvent);
		}

		InstanceContentEvent instanceContentEvent = new InstanceContentEvent(
				numberInstancesSent, null, isTraining, isTesting);
		instanceContentEvent.setLast(true);
		inputStream.put(instanceContentEvent);
	}
927218
public void setInstanceFleets(java.util.Collection<InstanceFleet> instanceFleets) {
        if (instanceFleets == null) {
            this.instanceFleets = null;
            return;
        }

        this.instanceFleets = new com.amazonaws.internal.SdkInternalList<InstanceFleet>(instanceFleets);
    }
1065571
public void setInstanceGroupTypes(java.util.Collection<String> instanceGroupTypes) {
        if (instanceGroupTypes == null) {
            this.instanceGroupTypes = null;
            return;
        }

        this.instanceGroupTypes = new com.amazonaws.internal.SdkInternalList<String>(instanceGroupTypes);
    }
409359
public java.util.List<InstanceCount> getInstanceCounts() {
        if (instanceCounts == null) {
            instanceCounts = new com.amazonaws.internal.SdkInternalList<InstanceCount>();
        }
        return instanceCounts;
    }
814746
public static void main(final String[] args) {

        List<InstanceStateChange> iscs = stopInstances(Arrays.asList(args));

        if (null != iscs && iscs.size() > 0) {
            System.out.println("Instance state changes: ");
            for (InstanceStateChange isc : iscs) {
                System.out.println(isc.getInstanceId() + ": " + isc.getPreviousState().getName() + " -> "
                        + isc.getCurrentState().getName());
            }
        } else {
            System.out.println("Nothing happened! Make sure you input the right instance IDs.");
            System.out.println("usage: java StopInstancesExample <instanceID-1> [instanceID-2] [instanceID-3] ...");
        }

    }
910869
public void setReservedElasticsearchInstanceOfferings(java.util.Collection<ReservedElasticsearchInstanceOffering> reservedElasticsearchInstanceOfferings) {
        if (reservedElasticsearchInstanceOfferings == null) {
            this.reservedElasticsearchInstanceOfferings = null;
            return;
        }

        this.reservedElasticsearchInstanceOfferings = new java.util.ArrayList<ReservedElasticsearchInstanceOffering>(reservedElasticsearchInstanceOfferings);
    }
962905
public void addInstance(Object instance)
            throws Exception
    {
        if (isDestroyed()) {
            throw new IllegalStateException("System already stopped");
        }
        else {
            startInstance(instance);
            if (methodsMap.get(instance.getClass()).hasFor(PreDestroy.class)) {
                managedInstances.add(instance);
            }
        }
    }
359519
public void setInstanceNames(java.util.Collection<String> instanceNames) {
        if (instanceNames == null) {
            this.instanceNames = null;
            return;
        }

        this.instanceNames = new com.amazonaws.internal.SdkInternalList<String>(instanceNames);
    }
898329
public void setInstanceIdSet(java.util.Collection<String> instanceIdSet) {
        if (instanceIdSet == null) {
            this.instanceIdSet = null;
            return;
        }

        this.instanceIdSet = new com.amazonaws.internal.SdkInternalList<String>(instanceIdSet);
    }