The result of calling the StopInstances operation. Contains details on how the specified instances are changing state.
248249250251252253254255256257
} final StopInstancesRequest request = new StopInstancesRequest(); request.setInstanceIds(wrapList(instanceId)); final StopInstancesResult result = amazonClient.stopInstances(request); waitForIstanceState(instanceId, InstanceStateName.Stopped); }
245246247248249250251252253254