code: public static void main(final String[] args) {
  
          // describe all instances in aws-mock
          List<Instance> allInstances = describeAllInstances();
          for (Instance i : allInstances) {
              System.out.println(i.getInstanceId() + " - " + i.getState().getName());
          }
  
          // describe specifiled instances in aws-mock
          List<Instance> someInstances = describeInstances(Arrays.asList("i-12345678", "i=abcdef00"));
          for (Instance i : someInstances) {
              System.out.println(i.getInstanceId() + " - " + i.getState().getName());
          }
      }
docs: Main method for command line use.
  
  @param args
  parameters from command line (no need here)