I hava AmazonEC2Client connected to my account. I can ask AWS my Reservations and Instances by
DescribeInstancesResult describeInstancesRequest = amazonEC2Client.describeInstances();
List<Reservation> reservations = describeInstancesRequest.getReservations();
Set<Instance> instances = new HashSet<Instance>();
for (Reservation reservation : reservations) {
instances.addAll(reservation.getInstances());
}
But if I already know the Id of instance, can I somehow get Instance object for it without requesting reservations and all instances?