<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _build_endpoint(self, endpoint_name):
 """Generate an enpoint url from a setting name. Args: endpoint_name(str):
 setting name for the enpoint to build Returns: (str) url enpoint """

        endpoint_relative = settings.get('asmaster_endpoints', endpoint_name)
        return '%s%s' % (self.host, endpoint_relative)