class Aws::EndpointCache::Endpoint

def expired?

def expired?
  Time.now - @created_time > @cache_period * 60
end