protected boolean isAlive(boolean force) { fetchLiveInstanceData(force); if (lastFetchInstance == null) return false; if (lastFetchInstance.getState().getName().equals(InstanceStateName.Terminated.toString())) return false; return true; }
public long getCreatedTime() { fetchLiveInstanceData(false); return createdTime; }
public List<EC2Tag> getTags() { fetchLiveInstanceData(false); return Collections.unmodifiableList(tags); }
public String getPrivateDNS() { fetchLiveInstanceData(false); return privateDNS; }
public String getPublicDNS() { fetchLiveInstanceData(false); return publicDNS; }