Scalr\Service\Aws\Rds\DataType\DBInstanceData::refresh PHP Method

refresh() public method

Refreshes description of the object using request to Amazon. NOTE! It refreshes object itself only when EntityManager is enabled. If not, solution is to use $object = object->refresh() instead.
public refresh ( ) : DBInstanceData
return DBInstanceData Return refreshed object
    public function refresh()
    {
        $this->throwExceptionIfNotInitialized();
        return $this->getRds()->dbInstance->describe($this->dBInstanceIdentifier)->get(0);
    }